Email Received (IMAP)

The Email Received (IMAP) trigger receives e-mail messages from an IMAP server.

Note:  

IMAP access must be enabled on the e-mail account that is polled for messages.

Each IMAP trigger created on FME Server must reference a unique e-mail account. You cannot create multiple IMAP triggers that reference the same address.

Parameters

Note: See also Working with Parameters in Automations Workflows.

Tip: To test that your parameters work as expected, click Validate.

  • IMAP Server Host: Provide the host name or IP address of the IMAP server.
  • IMAP Server Port: Provide the TCP port over which IMAP communication takes place.
  • IMAP Email Account/Password: Provide the e-mail address and password of the account receiving e-mails over IMAP.
  • Note:  

    IMAP access must be enabled on the e-mail account that is polled for messages.

    Each IMAP trigger created on FME Server must reference a unique e-mail account. You cannot create multiple IMAP triggers that reference the same address.

  • Connection Security: Specify the encryption mechanism to use for the IMAP connection. The mechanism selected must work over the specified port.
  • Verify SSL Certificate: If Yes, the connection to the specified IMAP Server Host is verified with a valid, signed SSL certificate. If No, the connection is not verified with an SSL certificate. This option is not secure and not recommended unless absolutely necessary, such as when using a self-signed certificate.
  • Poll Interval:Specify how often, in minutes, to poll the IMAP server for e-mail.
  • Emails to Fetch: If New Emails Only is selected, the publisher fetches only unread messages that were received after the last fetch. If Unread Emails is selected, the publisher fetches every unread e-mail message in the in-box.
  • Note: When the IMAP server is polled, every unread e-mail in the in-box is marked as read, regardless of this setting.

  • Filter Type: Allows you to fetch only the messages specified by the filter, based on content in the subject line. Filter Type can be:
  • Subject Filter: Provide the filter, according to the specified Filter Type. Wildcard characters are not supported. If blank, no filter is applied, and all unread/new messages are fetched.
  • Download Attachments To: Specify a location to download any attachments.
    • Select a Resources folder (...).
    • Enter your own location. Directory paths must use forward slashes (/) or escaped backslashes (\\).

Output Keys

See Also

Key Description
email.subject Email subject
email.body Email body
email.attachment Email attachment
email.sent Time sent
email.received Time received
email.from Sent from address
email.to Sent to address
email.contentType Email body content type
source Event type
time Event time