Setting Up a Flow to Handle Email Events (POP3)
  • Updated on 05 Mar 2019
  • 2 minutes to read
  • Print
  • Dark
    Light

Setting Up a Flow to Handle Email Events (POP3)

  • Print
  • Dark
    Light

An email event is a change in state on an email server, such as when the server receives or relays an email. The system can be configured to handle email events for a Post Office Protocol (POP3) server or an Internet Message Access Protocol (IMAP) server.
A POP3 server requires that clients download emails from the server to access them. An IMAP server allows a client to access emails directly on the server.
During the setup process, configure the mail server name, and the user name and password of the account with events to handle.
To set up a flow to handle email events, navigate to the folder System > Jobs and Events > Events , then use the dialog to set up the flow. Once the setup is complete, continue configuring the flow in the Flow Designer so that the event information can be displayed.

Example

In the example, we use the Event Setup dialog to set up a flow to handle email events.
To begin, navigate to the folderSystem > Jobs and Events > Events and click the Add Event button.
2018-01-16_103307.png

In the Please Select Events step, select Email Event and click Next .
2018-01-16_103706.png

In the Email Server Information step, in the Mail Type drop-down list, we selectPop3 and enter a Mail Server Name .
Enter the User Id and Password for the account with email events to handle. If required, you could also enter a Port . Select Next .
2018-01-16_104126.png

In the Event Info step, enter a name for the event in theName field, a description, and click Next .
2018-01-16_104228.png

In the Simple Calendar step, a list of common intervals for event handling displays.
To select a custom interval, you could select the Advanced option, click Next , then set up the custom interval.
For this example select Every Hour and click Next .
2018-01-16_104330.png

A message displays, alerting you that the event;s flow was created, click Done . . 
2018-01-16_104452.png

Select the new event from the entity list and click Edit Flow from the entity actions menu.
2018-01-16_105635.png

The Flow Designer opens with the flow for this event. In the Properties panel, in the Flow Data section, under the Flow Input Data field, the data element email_data (EmailData[ ]) appears.
2018-01-16_105748.png

The properties of this data element match those we entered when creating the event. Now you could add an appropriate component to the flow; for example you could add a Send Email Notification component and select the Show Mapping Editor link in the Properties panel to map it to the "email_data" element.
8_Flow.png

Complete your mapping, save and close.

Was this article helpful?