The Mail Polling activity is used to 'listen' for the arrival of any mails on the mail Server.
This feature is available in:
Enterprise | Premier | Professional | Express |
---|---|---|---|
√ | √ | √ |
|
Steps to create a Mail Polling activity
- On the Adeptia Suite homepage menu, click the Develop tab.
Go to Services >Polling and then click Mail. The Manage Mail Polling screen is displayed (see Figure 585).
Figure 585: Manage Mail Polling Service
Click the CreateNew link. The Create Mail Polling screen is displayed (see Figure 586).
Figure 586: Create Mail Polling Service
- Enter the name and description of the new Mail Polling activity in the textboxes Name and Description respectively.
- Select the Internet standard protocol to be used for retrieving incoming mails, from the dropdown list Protocol. You can select either the POP3, IMAP4 or the MAPI protocol. Based on the selected protocol, the default port number for that protocol is displayed in the Port field.
Enter the address of the incoming mail server in the textbox Incoming Mail Server.
To access mails from Microsoft Exchange Server use MAPI in the Protocol dropdown list. To connect Adeptia Server with Microsoft Exchange Server, you need to buy a third party tool called J-Integra for Exchange. J-Integra for Exchange is a high performance middleware bridge that enables Java Exchange interoperability. If you want to retrieve mails from an Exchange Server using J-Integra, select MAPI in the Protocol dropdown list.
If MAPI is selected in the Protocol dropdown list:- Enter name of the exchange server in Incoming Mail Server field
- Enter the domain name in the Domain field
- Enter the name of the CDO host machine in CDO host machine field. CDOConfig.exe is a tool that comes with the J-Integra for Exchange SDK and is used for configuring CDO. Host where CDO is configured is called CDO host machine.
- Select the Secure checkbox, if the specified incoming mail server is SSL enabled.
- The default port number of the selected protocol is displayed in the Port field. If you want to change this port number, enter the new port number in the Port field.
- Enter the user ID and password of mail server in the User ID and Password fields respectively. Then re-enter the password in the Confirm Password field.
- Select any of the following filter criteria:
- Sender E-mail
- Mail Subject
- Mail Content
- File Attachment
You may select more than one filter criteria.
- Enter the sender's email address and subject of email in the textboxes Sender Email and Mail Subject respectively.
To define search based on mail content, enter the required content in the textbox Mail Content.
You can also use asterisk and Wild Cards in the Mail Content field.
- Enter the name of the file attached with mail in the textbox File Attachment.
Enter the time interval for Polling in the textbox Polling Frequency. Enter the digit in the Frequency field and select the unit of time i.e. seconds, minutes or hours etc. from the dropdown list Duration.
Recommended minimum Polling Frequency is 30 seconds.
Enter the expiry time in the Expiry Time field. After expiry time process flow does not poll for the mail.
To learn about Advanced Properties refer to Changing Advanced Properties section.
When a mail polling service is used in a process flow, it creates a Polling Status activity variable. For details, refer to Polling Status section.
- Click the Save button.
14