Get Emails via IMAP#
Retrieve emails using the IMAP protocol.
| Server | [Text] Server (for example, "imap.mail.ru"). |
| Port | [Number] Port. If not specified, the default port is used:
|
| Login | [Text] Login required for authentication on the server. |
| Password | [Text/SecureString] Password required for authentication on the server. |
| Timeout | [Number] Timeout for a response from the server. The value is specified in seconds. |
| SSL | Indicates whether to use a secure connection. |
| Number of Emails | [Number] The number of recent emails to be retrieved from the server. |
| Delete After Retrieval | Delete emails from the mail server after retrieval. |
| Mark as Read | Mark emails as read after retrieval. |
| Only New | Retrieve only new emails. |
| Sort by Date | Type of sorting by date. Possible options:
|
| Email Header Filter | [Text] Email header filter. The filter format depends on the "Email Header Filter Type" property. |
| Email Header Filter Type | Type of email header filter. Possible values:
Wildcard and Regex filters are executed after emails are retrieved and are the most resource-intensive. It is recommended to use them only with the "Only New" property set. |
| Folder | [Text] Folder on the mail server for receiving mail. If the value is empty, the "Inbox" folder will be used. If necessary, specify nested folders using the |
| Result | [List] List of MailMessage objects that are emails with all content. |
| Error Handling Level | Select the error handling level. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Message Level | Select the message level that blocks will output during operation. Possible values:
If "Default" is selected, the value from the "Start" block of this diagram will be used. |
| Error Text | [Text] Returns detailed information about the error in case of incorrect execution of the block's work. |