Get Single E-mail
This activity causes logging in to the indicated mail account on the server and downloads an e-mail message from the e-mail box (POP3/IMAP server). One cannot point to a specific folder in the mailbox - Wizlink sees the inbox as an undivided whole. To receive another message one should delete the previous one (put a tick in the Delete source message box on the activity).
NOTE: we recommend using IMAP protocol because of some limitations on POP3 protocol (Wizlink may ends in fail when the checkbox Delete Source Message is on and you use Microsoft - because POP3 protocol actually deletes mail from server only after clean disconnection, so Wizlink has to disconnect and reconnect, and Microsoft forbides connecting for some time after 20 or so reconnecting action).
NOTE: the activity works properly as long as no other program nor human uses the same mailbox as Wizlink.
Parameter Name | Parameter Type | In/Out | Description |
---|---|---|---|
Alternative Scenario If Failed | Boolean | Input | checkbox; default is "on" |
Application ID | String | Input | string expression from Azure Active Directory (applies to Microsoft services) or Google Cloud (applies to Google services) obtained after the application registration process |
Body | String | Output | content of the message |
CC | String | Output | address of the secondary recipient |
Client Secret | String | Input | string expression from Google Cloud obtained after the application registration process |
Delete from Server | Boolean | Input | checkbox; default is "off" |
Display Name | Literal | Input | changes display name of the activity |
Encryption Method | Dropdown | Input | select encryption method from the dropdown list |
Exclude from Transaction Check | Boolean | Input | checkbox; default is "off" |
From | String | Output | sender address |
Local Folder Source Path | String | Input | path to the directory or file, where from you download email (Source: Directory/File) |
Login | String | Input | login |
Message Id | String | Output | message ID |
Message Received Time Stamp | DateTime | Output | timestamp of received message |
Password | String | Input | password (string expression) |
Port | Int32 | Input | port number |
Protocol | Dropdown | Input | select the appropriate option from the dropdown list |
Provider | Dropdown | Input | select email provider from the dropdown list |
Reply To | String[] | Output | original Reply To address |
Result | Boolean | Output | returns a Boolean value. True if no error in activity, otherwise will return False |
Result Code | Int32 | Output | Result Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities |
Save Message | Boolean | Input | checkbox; default is "off" |
Saved Attachments Paths | String[] | Output | file paths to attachment files |
Saved Message Path | String | Output | directory path to a file (file name and extension included) |
Server Address | String | Input | address of e-mail server the robot logs on to |
Short Message Folder Name | Boolean | Input | checkbox, default is "off" |
Target Save Folder | String | Input | folder on computer disk where messages will be saved (direct path or variable) |
Tenant ID | String | Input | string expression from Azure Active Directory obtained after the application registration process |
Timeout [s] | Int32 | Input | set time in seconds to connect to email server |
Title | String | Output | title of the message |
To | String | Output | email address of recipient |
Use OAuth | Boolean | Input | checkbox; default is "off" |