POP3 Get Messages by Date Builder

media_1501434577613.png

The POP3 Get Messages retrieves all messages received by a certain date and loops through each message.

media_1481719729001.png

Account – the variable that will contain your POP3 Host details.

Username – the variable that will contain your username.

Password – the variable that will contain your password.

Port – the variable that will contain your port detail.

Note: all variables will need to be set prior to this part of the script.

media_1481720464361.png

media_1481720484564.png

Click the appropriate check box next to the email properties to be retrieved.

Recipient – the recipient of the email message will be stored in the selected variable.

From Email – the from email address of the email message will be stored in the selected variable.

Subject – the subject of the email message will be stored in the selected variable.

Content – the content of the email message will be stored in the selected variable.

Format Type – the content format of the email message.

media_1481720500415.png

Click Yes to save all email attachments found in email messages to a path contained in the selected variable.

Note: the path variable needs to be set prior to this point in the script.

Created Script

media_1481720526805.png

New Pop Connection – creates a new POP3 connection and sets it to a variable.

Get All Emails by Date – retrieves all emails received by a specific date.

media_1481720544071.png

Loop Email Messages – peforms a loop through each email message retrieved from the server.

Get Html Message – gets the content of the email message and set it to a variable

Get From Address – gets the from address of the email message and set it to a variable.

media_1481720562108.png

Get Recipient – gets the recipient email address and set it to a variable.

Get Email Subject – gets the subject of the email message and set it to a variable.

POP3 Get Messages Builder

media_1501434525778.png

The POP3 Get Messages retrieves all messages and loops through each message.

media_1481718402855.png

Account – the variable that will contain your POP3 Host details.

Username – the variable that will contain your username.

Password – the variable that will contain your password.

Port – the variable that will contain your port detail.

Note: all variables will need to be set prior to this part of the script.

media_1481718423383.png

Click the appropriate check box next to the email properties to be retrieved.

Recipient – the recipient of the email message will be stored in the selected variable.

From Email – the from email address of the email message will be stored in the selected variable.

Subject – the subject of the email message will be stored in the selected variable.

Content – the content of the email message will be stored in the selected variable.

Format Type – the content format of the email message.

media_1481718441673.png

Click Yes to save all email attachments found in email messages to a path contained in the selected variable.

Note: the path variable needs to be set prior to this point in the script.

Created Script

media_1481718512638.png

New Pop Connection – creates a new POP3 connection and sets it to a variable.

Get All Emails – retrieves all emails from the POP3 server.

media_1481718536527.png

Loop Email Messages – loops through the collection of email messages retreived from the server.

Get Html Message – gets the content of the email message and set it to a variable

Get From Address – gets the from address of the email message and set it to a variable.

media_1481718551954.png

Get Email Subject – gets the subject of the email message and set it to a variable.

Get Attachment Count – gets the number of attachments that the email message has.

media_1481718574449.png

If – check if that attachment count is greater than zero. It it is then the email message has attachments.

Save Attachments – save attachments to the file path assigned to the variable. Note: the file path needs to be set prior to this point in the script.

IMAP Message Search Builder

media_1501434424966.png

The IMAP Message Search Action Builder retrieves all messages that match a criteria and loops through each message.

media_1481722033239.png

Account – the variable that will contain your Imap Host details.

Username – the variable that will contain your username.

Password – the variable that will contain your password.

Port – the variable that will contain your port detail.

Note: all variables will need to be set prior to this part of the script.

media_1481717910188.png

The default mail box is “Inbox”.

To change to another mailbox, click Yes and select the Variable that will hold the mailbox name.

media_1481717932273.png

Search Type – select the type of field you want to perform a search on.

media_1481717948506.png

Value – the variable that will contain the value in the search.

Note: this variable will need to be set prior to this point in the script.

media_1481717971175.png

Click the appropriate check box next to the email properties to be retrieved.

Recipient – the recipient of the email message will be stored in the selected variable.

From Email – the from email address of the email message will be stored in the selected variable.

Subject – the subject of the email message will be stored in the selected variable.

Content – the content of the email message will be stored in the selected variable.

Format Type – the content format of the email message.

media_1481717986898.png

Click Yes to save all email attachments found in email messages to a path contained in the selected variable.

Note: the path variable needs to be set prior to this point in the script.

Created Script

media_1481718010595.png

New Imap Connection – creates a new Imap Connection and stores it into a variable.

Connect to Server – connects to the Imap server.

New Search Filter – create a new search filter that will be used to retrieve emails.

media_1481718027325.png

Search From – adds a search function that will be used to search the From Address fields within a email. Note: more search functions can be added.

Search for Emails – performs a search for all emails that match the search criteria.

media_1481718070121.png

Loop Email Messages – peforms a loop through each email message retrieved from the server.

Get Html Message – gets the content of the email message and set it to a variable

Get From Address – gets the from address of the email message and set it to a variable.

media_1481718088182.png

Get Recipient – gets the recipient email address and set it to a variable.

Get Email Subject – gets the subject of the email message and set it to a variable.

Disconnect from Server – closes the connection to the Imap server.

IMAP Get Messages Builder

media_1501434340886.png

The IMAP Get Messages Action Builder retrieves all messages using IMAP and loops through each message.

media_1481722003912.png

Account – the variable that will contain your Imap Host details.

Username – the variable that will contain your username.

Password – the variable that will contain your password.

Port – the variable that will contain your port detail.

Note: all variables will need to be set prior to this part of the script.

media_1481716895343.png

The default mail box is “Inbox”.

To change to another mailbox, click Yes and select the Variable that will hold the mailbox name.

media_1481716917994.png

Click the appropriate check box next to the email properties to be retrieved.

Recipient – the recipient of the email message will be stored in the selected variable.

From Email – the from email address of the email message will be stored in the selected variable.

Subject – the subject of the email message will be stored in the selected variable.

Content – the content of the email message will be stored in the selected variable.

Format Type – the content format of the email message.

media_1481716936967.png

Click Yes to save all email attachments found in email messages to a path contained in the selected variable.

Note: the path variable needs to be set prior to this point in the script.

Created Script

media_1481717149524.png

New Imap Connection – creates a new Imap Connection and stores it into a variable.

Connect to Server – connects to the Imap server.

Get All Messages – retrieves all messages within the current mailbox. The inbox is the default mailbox.

media_1481717035870.png

Loop Email Messages – loops through the collection of email messages retreived from the server.

Get Html Message – gets the content of the email message and set it to a variable

Get From Address – gets the from address of the email message and set it to a variable.

media_1481717062661.png

Get Recipient – gets the recipient email address and set it to a variable.

Get Email Subject – gets the subject of the email message and set it to a variable.

Get Attachment Count – gets the number of attachments that the email message has.

media_1481717101486.png

If – check if that attachment count is greater than zero. It it is then the email message has attachments.

Save Attachments – save attachments to the file path assigned to the variable. Note: the file path needs to be set prior to this point in the script.

media_1481717117155.png

Disconnect from Server – closes connection to the IMAP server.

Send Email Builder

media_1501434223597.png

The Send Email Action builder signs into your SMTP server and sends a email.

media_1481715672782.png

Account – the variable that will contain your SMTP Host details.

Username – the variable that will contain your username.

Password – the variable that will contain your password.

Port – the variable that will contain your port detail.

Note: all variables will need to be set prior to this part of the script.

media_1481715689607.png

Recipient – the variable that will contain the email address that will be sent the email.

From Email – the variable that will contain the from address in a email.

Subject – the variable that will contain the subject line of the email.

Content – the variable that will contain the message content.

Format Type – the type of message content (Text or HTML).

Note: All variables will need to be set prior to this portion of the script.

Created Script

media_1481715714255.png

New Smpt Connection – creates a new Smtp connection and sets it to a variable.

New Email Message – creates a new EmailMessage and sets it to a variable..

Set Html Message – takes the EmailMessage and sets the message content to the value of the variable.

media_1481715733637.png

Add Email Recipient – takes the EmailMessage and adds a To Email address from the value in a variable.

Send Email – takes the Smtp connection and sends the EmailMessage.

Close Smtp Connection – close the Smtp connection.

Overview of Builders

media_1481799459407.png

Action Builders are step by step wizards that help you build scripts quickly.

Click on the Action Builder and the Action Builder Wizard will pop up.