Email Received (SMTP)

The Email Received (SMTP) trigger allows you to configure email addresses to receive messages from SMTP email clients, and send the email data to FME Server as JSON.

To use the Email Received (SMTP) trigger, you must first make sure your FME Server is properly configured to receive email. For more information see Configuring FME Server to Receive Email.

Note: The Email Received (SMTP) trigger is not supported in a fault tolerant installation of FME Server. Consider using the Email Received (IMAP) trigger instead.

Parameters

Note: See also Working with Parameters in Automations Workflows.

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

  1. Email User Name:
    • To email FME Server directly, enter the user account name to receive the email on the FME Server host system. For example, if the FME Server host name is services.internal, and the email address is user@services.internal, enter user.
    • To email a separate server that relays the email to FME Server, enter the user name of the email address on the email server. For example, if the email address is user@company.com, enter user.
    • Note: A rule must be configured on the email server that relays emails for the specified Email User Name on to FME Server. The rule must specify the FME Server machine name and SMTP port. To determine the port, see Configuring for SMTP.

  2. Note: Email addresses are case-insensitive.

  3. Download Attachments To: (Optional) 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

Note: If the email contains multiple attachments, this key accesses only the first attachment. To access multiple attachments, use email.attachments instead.

email.attachments Path to directory containing all email attachments
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

Email Received (SMTP) Trigger Log Files

Resources\logs\core\current|old\publishers\

fmepublishers.log

  • Shows some additional communication between SMTP Relay and FME Server.

email.log

  • Shows Email Received (SMTP) trigger and configuring email accounts