SetConnect

IMAPreceiveMail

IPtools::IMAPreceiveMail
Description

Retrieve email from an IMAP (Internet Message Access Protocol) server.

Conforms to RFC 1730 and RFC 2060.

Supports "Basic Authentication" and "OAUTH2 Microsoft"

Tutorial about how to configure Azure to use OAUTH2 of Echange Online.

Options
IMAP server
Name or address of the IMAP mailserver.
Username
Username for the mailbox.
Password
Password for the mailbox.
Mailbox
Name of the mailbox (example: INBOX).
Output directory
Directory to save messages to.
Messagebody filename
Filename to use when the message is saved to file (.txt will be added and files are automatically numbered).
Save message to file
When checked, the message will be saved to file.
Fetch unread messages only
When checked, only unread messages will be processed.
Create subdirectory for each message
When checked, every message (and optional attachments) will be saved to a separate directory. Directories are automatically created and numbered.
Save attachments
When checked, the attachments of the message will be saved.
Delete message
When checked, the message will be deleted after is has been processed.
Timeout
Connection timeout in seconds.
Sender name or address
Regular expression filter for the "Sender name" and "Sender email" part of the message. All messages that match this filter will be processed.
Subject
Regular expression filter for the "Subject" part of the message. All messages that match this filter will be processed.

Documentation

Release notes