Using this action allows you to handle incoming e-mails dynamically, from a process. This action starts listening to the specified incoming e-mail account.
CONNECT TO EMAIL AttributeIdentifier()
The attribute identifier specified in the action identifies the e-mail account to connect to. It is expected that this identifier points to the object containing the following mandatory attributes:
MailHost – email host serverMailUser – user name of the e-mail account on this serverMailPassword – password of the e-mail account on this serverAccountName – a unique name identifying this connection (which is then used in the DISCONNECT FROM EMAIL action).The following attributes are optional. If not provided default values are used:
MailPort (Number, default value is 110) – port which the e-mail server usesMailCheck (Number, default value is 300) – how frequently to check for new emails (in seconds)MailSSL (Yes/No, default is No) – whether e-mail account requires SSLMailTLS (Yes/No, default is No) – whether e-mail account requires TLSCONNECT TO EMAIL EmailAccount
This assumes that the application contains the EmailAccount object with the attributes above. At runtime the values of this object identify the e-mail account to connect to.