For information about 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 |
|---|---|---|---|---|
| Connection | Required | Not available | Select Global Resources.
Refer to "Global Resource Properties" for global resource settings .
|
|
| User name | Required | Available | Enter the user name. |
|
| Password | Required | Available | Enter the password. |
| Item name | Description | Remarks |
|---|---|---|
| Authentication test | Performs authentication test with [User name] and [Password]. |
|
| Item name | Required/Optional | Use of Variables | Description | Remarks |
|---|---|---|---|---|
| Encoding | Optional | Available | Select or enter an encoding when receiving mail.
Refer to "Supported Encodings"(http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html) for details.
|
|
| 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 that receives the message that cannot be received.
|
|
| Get only address | Optional | Not available | Select the form when receive data such as (From, To, Cc, Reply-To) either
|
|
| Item name | Required/Optional | Use of Variables | Description | Remarks |
|---|---|---|---|---|
| Receive attached file | Optional | Not available | Select whether to receive attachments.
|
|
| Directory for storing received attachments | Required | Available | Enter the store directory to the files attached
If the [Browse] button is pressed, directory Selectr launched, then the directory can be selected. Mechanism of the generating of the path of the files stored will be the file name of ${destination}/${message ID}/. Addition, ${message ID} is the variable 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 |
|
| If file of same name as attached file exists | Required | Not available | Select the behavior when there is an attachment file of the same name.
|
|
| 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 |
|---|---|---|---|---|
| Mass data processing | Required | Not available | Select a 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 reflected in the specifications. |
<?xml version="1.0" encoding="UTF-8" ?>
<table>
<row>
<column>Message ID</column>
<column>Sent 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(Received Date) | ||
| Header | The element occurs for each key specified in the [Header list]. |
|
| From |
|
|
| To |
|
|
| Cc |
|
|
| Bcc |
|
|
| Reply To |
|
|
| Subject | ||
| Content-type | ||
| Message | ||
| Attachments |
|
See "Edit Schema"for any details .
| Component variable name | Description | Remarks |
|---|---|---|
| count | Returns the number of messages retrieved. |
|
| message_category | Stroes the category to which corresponding message code belongs to, when an error occurs. |
|
| message_code | Stores its corresponding message code of occured error. |
|
| message_level | Stores the severity of the corresponding message code of the occured error. |
|
| error_type | Stores the type of the occured error. |
|
| error_message | Stores the error message for the occured error. |
|
| error_trace | Stores stack trace of the occurred error. |
|
|
-----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 | Causes | Solution |
|---|---|---|
| ResourceNotFoundException Resource definition could not be found.Name: [] |
[Connection] is not specified. | Please specify [Connection]. |
| ResourceNotFoundException Resource definition could not be found.Name: [<name of Global Resources>] |
Resource definition selected in [Connection] is not found. | Please check the global resource specified in [Connection]. |
| InvalidPropertyConfigurationException
<Property name> is not specified. |
[<Property name>] is not specified. | Specify the [<Property name>]. |
| java.io.UnsupportedEncodingException | Encoding set to [Encoding] is not supported. | Please 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 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 reach ability. |