Setting Up a Flow to Handle Email Events (POP3)

Last Updated: 12/03/2015 Introduced in Verision: 2.0

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 wizard 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 wizard to set up a flow to handle email events.

To begin, navigate to the folder System > Jobs and Events > Events and click the Add Event button.

addEvent

 

In the Please Select Events step, select Email Event and click Next.

selectEvent

 

In the Email Server Information step, in the Mail Type drop-down list, we select Pop3 and enter a mail server name.

Enter the username and password for the account with email events to handle. If required, you could also enter a port. Select Next.

enterCredentials

 

In the Event Info step, enter a name for the event in the Entity Name field, a description, and click Next.

nameEvent

 

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.

everyHour

 

A message displays, alerting you that the event;s flow was created, click Done. . 

Select the new event from the entity list and click Edit Flow from the entity actions menu.

editFlow

 
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.
emailDataAppears
 

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.

showMappingEditor

 

Complete your mapping, save and close.

 

 

Need more help with:

Setting Up a Flow to Handle Email Events (POP3)?

 

Contact us at support@decisions.com

Additional Resources