Receive E-mail (POP3)
Operation name
Receive E-mail (POP3)
Function overview
Receives emails from Gmail POP3 server.
Data model
The data model of this component is table model type.
Operation environment
Google Workspace (formerly known as G Suite Basic)
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Connection |
Required |
Not available |
Select a connection resource.
|
|
User name |
Required |
Available |
Enter the user name. |
|
Password |
Required |
Available |
Enter the password. |
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Authentication test |
Perform an authentication test by using User name and Password. |
|
Receive Settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Encoding |
Optional |
Available |
Select or enter an encoding when receiving emails.
When you enter encoding, specify one of the encodings supported in Java SE Runtime Environment 8. = Remarks =
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 give priority to the encoding specified in the message or not when receiving emails.
|
|
Receive in newly arrived order |
Optional |
Not available |
Select whether to receive messages in the order of new arrival.
|
|
Set maximum reception number |
Optional |
Not available |
Select whether to specify the maximum number of messages to receive.
|
|
Maximum reception number |
Required |
Available |
Specify the maximum number of messages to receive. For example, when the server contains 100 messages, and 10 is set in Maximum reception number, only the 10 messages from the top will be received and the remaining 90 messages will remain unread. |
|
Skip message that cannot be received |
Optional |
Not available |
Select the operation to execute when a message can't 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 to acquire from either "Description <email address>" or "email address".
|
|
Attached file
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 directory where attachments are to be stored. The Browse button launches a directory chooser that allows you to select a directory. The path of the stored attachment will be <stored directory>/<message ID>/attachment file name. In addition, <message ID> is the variable set by the mail server.
If the storage destination is set to "/Personal/tmp" and the file "test.txt" is attached, the path will be generated as follows: Example: /Personal/tmp/18926678.1130237227441.JavaMail.account@example.com/test.txt |
Note
|
If file of same name as attached file exists |
Required |
Not available |
Select an operation to execute when files with the same name exist in attachments.
|
|
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Header list |
Optional |
- |
Specify the header to retrieve. |
|
Header list/Header |
Required |
Available |
Enter key to retrieve the header. |
|
Data processing method
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Data processing method |
Required |
Not available |
Select a data processing method.
|
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Input schema
None.
Output schema
<?xml version="1.0" encoding="UTF-8" ?> <table> <row> <column>Message ID</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 |
This item is output for each key defined in Header list. |
Note
This item isn't available if nothing is defined in Header list. |
From |
|
|
To |
|
|
CC |
|
|
BCC |
|
|
Reply To |
|
|
Subject |
|
|
Content-Type |
|
|
Message |
|
|
Attachments |
|
|
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Mass data processing
Mass data processing is supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of received emails is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|
-
SSL is used in communication between Gmail POP3 server and this connector.