Email Connector import examples

The Email Connector actions connect to the Email servers that support IMAP protocol or Exchange Web Service (EWS). These actions scan incoming email messages for attachments that contain the types of attachments that you specify and import the attachments into a batch.

Import from an IMAP Email server

The examples in the following tables show the sequence in which you must add the actions to the Export ruleset for the different Email servers.

Table 1. The sequence of actions to use for an IMAP Email server
Action Description
im_login("hostname","userid,password") Log in to Email server for the specified host name.
im_types("tif", "pdf") Specify the email attachment types that you want to import.
im_done_folder("folder_name") Specify the destination IMAP folder for successfully imported email messages.

If this Action is not called, the default folder named Done is used.

im_problem_folder("folder_name") Specify the destination IMAP folder for unsuccessfully imported email messages.

If this Action is not called, the default folder named Problem is used.

im_scan() Scan the email messages in the Inbox for the specified types.

Imports the selected emails and attachments into the batch.

im_logout Disconnect from the Email server.

Import from an EWS Email server

Table 2. The sequence of actions to use for an EWS Email server
Action Description
ex_ews_version("1") Specify the version of the EWS Email server to use:
  • Type 1 for Exchange 2007 SP1
  • Type 2 for Exchange 2010
  • If called by any other parameter, the latest known library is used. Currently .NET 3.5 library on Exchange 2010

If the action is not called at all, defaults to the latest version.

ex_login("hostname","userid,password") Log in to Email server for the specified host name.
ex_types("tif", "pdf") Specify the email attachment types that you want to import.
ex_done_folder("folder_name") Specify the destination EWS folder for successfully imported email messages.

If this Action is not called, the default folder named Done is used.

ex_problem_folder("folder_name") Specify the destination EWS folder for unsuccessfully imported email messages.

If this Action is not called, the default folder named Problem is used.

ex_scan() Scan the email messages in the Inbox for the specified types.

Imports the selected emails and attachments into the batch.

ex_logout Disconnect from the Email server.