For details on using variables, refer to "Variables".
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Name | Required | Not Available | Enter the name on the script canvas. |
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Destination | Required | Not Available | Select Global Resources.
For details on global resource settings, refer to "Global Resource Properties (Destination)".
|
|
| User name | Required | Available | Enter the user name. |
|
| Password | Required | Available | Enter the password. |
| Item name | Description | Remarks |
|---|---|---|
| Authentication test | Perform an authentication test by using [User name] and [Password]. |
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Encoding | Optional | Available | Select or enter an encoding when receiving mail.
For details, refer to "Supported Encodings"(http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html).
|
|
| Prefer encoding of the message | Optional | Not Available | Select whether to prefer the encoding specified in the message or not when receiving mails.
|
|
| Receive in newly arrived order | Optional | Not Available | Select whether to receive messages in the order of new.
|
|
| Set maximum reception number | Optional | Not Available | Select whether to specify the maximum number of messages received.
|
|
| Maximum reception number | Required | Available | Specifies the maximum number of messages received. For example, when it contains 100 messages on the server, and the number of maximum reception is set to 10 , receive only 10 messages from the top and the rest 90 will remain unread. |
|
| Skip message that cannot be received | Optional | Not Available | Select the operation when receiving the message that cannot be received.
|
|
| Get only address | Optional | Not Available | When you acquire data that contains an email address (From, To, Cc, Reply-To), select the format from either "Description <mail address>" or "mail address".
|
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Receive attachment | Optional | Not Available | Select whether or not to receive attachments.
|
|
| Attachment store | Required | Available | Enter the directory where to store attachments.
Click [Browse] button to activate the directory chooser and select the directory. The path of the stored attachment is <Stored directory>/<Message ID>/Attachment file name. In addition, <message ID> is the variable value set by the mail server. If the store destination is set to /tmp and attached to the test.txt, it will generate as follows. Example: /tmp/18926678.1130237227441.JavaMail.account@mail.com/test.txt |
|
| When file with same name exists in attachments | Required | Not Available | Select a behavior when the file with same name exists in attachments.
|
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Header list | Optional | - | Specify the header retrieved. |
|
| Header list/Header | Required | Available | Enter key to retrieve the header. |
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Data processing method | Required | Not Available | Select the data processing method.
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Comment | Optional | Not Available | You can write a short description of this adapter. The description will be applied to the specifications. |
<?xml version="1.0" encoding="UTF-8" ?>
<table>
<row>
<column>Message ID</column>
<column>UID</column>
<column>Sent Date(Received Date)</column>
<column>Header 1</column>
<column>Header 2</column>
:
<column>From</column>
<column>To</column>
<column>CC</column>
<column>BCC</column>
<column>Reply To</column>
<column>Subject</column>
<column>Content-Type</column>
<column>Message</column>
<column>Attachments</column>
</row>
<row>
:
</row>
</table>
| Column name | Description | Remarks |
|---|---|---|
| Message ID | ||
| Sent Date | ||
| Header | The element occurs for each key specified in the [Header list]. |
|
| From |
|
|
| To |
|
|
| CC |
|
|
| BCC |
|
|
| Reply-To |
|
|
| Subject | ||
| Content-Type | ||
| Message | ||
| Attachments |
|
For details, refer to "Edit Schema".
| Component variable name | Description | Remarks |
|---|---|---|
| count | Returns the number received. |
|
| message_category | When an error occurs, the category of the message code corresponding to the error that occurred is stored. |
|
| message_code | When an error occurs, the code of the message code corresponding to the error that occurred is stored. |
|
| message_level | When an error occurs, the severity of the message code corresponding to the error that occurred is stored. |
|
| error_type | When an error occurs, the type of error that occurred is stored. |
|
| error_message | When an error occurs, the error message of the error that occurred is stored. |
|
| error_trace | When an error occurs, the trace information of the error that occurred is stored. |
|
|
-----Boundary 1----- Message -----Boundary 1----- Message -----Boundary 1----- Message ------------------------ |
|
-----Boundary 1----- -----Boundary 2----- Message -----Boundary 2----- Message -----Boundary 2----- Message ------------------------ -----Boundary 1----- -----Boundary 3----- Message -----Boundary 3----- Message -----Boundary 3----- Message ------------------------ -----Boundary 1----- -----Boundary 4----- Message -----Boundary 4----- Message -----Boundary 4----- Message ------------------------ ------------------------ |
| Characters | Character code (Unicode) |
|---|---|
| ― | 0x2014 |
| ~ | 0x301C |
| ‖ | 0x2016 |
| - | 0x2212 |
| ¢ | 0x00A2 |
| £ | 0x00A3 |
| ¬ | 0x00AC |
| Characters | Character code (Unicode) |
|---|---|
| ① | 0x2460; |
| ② | 0x2461; |
| ③ | 0x2462; |
| ④ | 0x2463; |
| ⑤ | 0x2464; |
| ⑥ | 0x2465; |
| ⑦ | 0x2466; |
| ⑧ | 0x2467; |
| ⑨ | 0x2468; |
| ⑩ | 0x2469; |
| ⑪ | 0x246A; |
| ⑫ | 0x246B; |
| ⑬ | 0x246C; |
| ⑭ | 0x246D; |
| ⑮ | 0x246E; |
| ⑯ | 0x246F; |
| ⑰ | 0x2470; |
| ⑱ | 0x2471; |
| ⑲ | 0x2472; |
| ⑳ | 0x2473; |
| Ⅰ | 0x2160; |
| Ⅱ | 0x2161; |
| Ⅲ | 0x2162; |
| Ⅳ | 0x2163; |
| Ⅴ | 0x2164; |
| Ⅵ | 0x2165; |
| Ⅶ | 0x2166; |
| Ⅷ | 0x2167; |
| Ⅸ | 0x2168; |
| Ⅹ | 0x2169; |
| ㍉ | 0x3349; |
| ㌔ | 0x3314; |
| ㌢ | 0x3322; |
| ㍍ | 0x334D; |
| ㌘ | 0x3318; |
| ㌧ | 0x3327; |
| ㌃ | 0x3303; |
| ㌶ | 0x3336; |
| ㍑ | 0x3351; |
| ㍗ | 0x3357; |
| ㌍ | 0x330D; |
| ㌦ | 0x3326; |
| ㌣ | 0x3323; |
| ㌫ | 0x332B; |
| ㍊ | 0x334A; |
| ㌻ | 0x333B; |
| ㎜ | 0x339C; |
| ㎝ | 0x339D; |
| ㎞ | 0x339E; |
| ㎎ | 0x338E; |
| ㎏ | 0x338F; |
| ㏄ | 0x33C4; |
| ㎡ | 0x33A1; |
| ㍻ | 0x337B; |
| 〝 | 0x301D; |
| 〟 | 0x301F; |
| № | 0x2116; |
| ㏍ | 0x33CD; |
| ℡ | 0x2121; |
| ㊤ | 0x32A4; |
| ㊥ | 0x32A5; |
| ㊦ | 0x32A6; |
| ㊧ | 0x32A7; |
| ㊫ | 0x32AB; |
| ㈱ | 0x3231; |
| ㈲ | 0x3232; |
| ㈹ | 0x3239; |
| ㍾ | 0x337E; |
| ㍽ | 0x337D; |
| ㍼ | 0x337C; |
| ≒ | 0x2252; |
| ≡ | 0x2261; |
| ∫ | 0x222B; |
| ∮ | 0x222E; |
| ∑ | 0x2211; |
| √ | 0x221A; |
| ⊥ | 0x22A5; |
| ∠ | 0x2220; |
| ∟ | 0x221F; |
| ⊿ | 0x22BF; |
| ∵ | 0x2235; |
| ∩ | 0x2229; |
| ∪ | 0x222A; |
| ⅰ | 0x2170; |
| ⅱ | 0x2171; |
| ⅲ | 0x2172; |
| ⅳ | 0x2173; |
| ⅴ | 0x2174; |
| ⅵ | 0x2175; |
| ⅶ | 0x2176; |
| ⅷ | 0x2177; |
| ⅸ | 0x2178; |
| ⅹ | 0x2179; |
| ¬ | 0xFFE2; |
| ¦ | 0xFFE4; |
| ' | 0xFF07; |
| " | 0xFF02; |
| Exception Name | Cause | Solution |
|---|---|---|
| ResourceNotFoundException Resource definition is not found. Name: [] |
[Destination] is not specified. | Specify [Destination]. |
| ResourceNotFoundException Resource definition is not found. Name : [<Global Resource name>] |
The resource definition selected in [Destination] is not found. | Check the global resource specified in [Destination]. |
| InvalidPropertyConfigurationException
<Property name> is not specified. |
[<Property name>] is not specified. | Specify [<Property name>]. |
| java.io.UnsupportedEncodingException | Encoding set to [Encoding] is not supported. | Check the specified encoding in [Encoding]. |
| javax.mail.AuthenticationFailedException: [SYS/PERM] Your account is not enabled for POP access. Please visit your Gmail settings page and enable your account for POP access. |
POP is not enabled in Gmail settings of the target user. | To use POP, you will need to enable POP in the Gmail settings of the target user. |
| javax.mail.AuthenticationFailedException: [AUTH] Username and password not accepted. |
[User name] or [Password] is incorrect. | Check [User name] and [Password] . |
| com.sun.mail.util.MailConnectException: | Failed to establish connection to Gmail POP3 server | Check the network reachability. |