Monitors an email server for incoming mail and fires when email arrives.
Properties
Server
Sets the host name of the email server.
Polling Delay
Sets a time expression that specifies how long the mail trigger waits to poll the mail server for new email messages.
Port
Sets the mail server port.
Username & Password
Sets the credentials to access the mail server
Protocol
Sets the mail protocol used to communicate with the mail server. It can be either IMAP or POP3
Delete Processed Message
Sets whether a processed email is automatically deleted after control returns to the mail trigger. Note that when using the POP3 protocol, the JavaMail implementation does not appear to allow messages to be deleted.
IMAP Folder
Sets the name of the IMAP folder that is checked for email messages.
IMAP Folder Copy Destination
Sets the name of an IMAP folder, if any, to which a processed email is copied when the mail trigger fires.
Result Properties
|
Property Name |
Description |
|---|---|
|
attachments |
List of MailTrigger.Mail_Attachment. The file attachments in the mail message. |
|
body |
The body of the mail message. |
|
cc_addresses |
List of String. The carbon copy recipients of the mail message. |
|
content_type |
The content type of the mail message. |
|
status_flags |
Status flags for the mail message. |
|
from_addresses |
List of String. The senders of the mail message. |
|
reply_to_addresses |
List of String. The reply-to addresses of the mail message. |
|
sent_date |
The date the mail message was sent. |
|
size |
The size of the mail message. |
|
subject |
The subject of the mail message. |
|
to_addresses |
List of String. The recipients of the mail message. |
Comments
Please sign in to leave a comment.