You are here: Administrator's Guide > Other Common Tasks > Notifications > Configuring FME Server to Receive E-mail

Configuring FME Server to Receive E-mail

FME Server can receive e-mail via Simple Mail Transfer Protocol (SMTP) or Internet Message Access Protocol (IMAP). Using the FME Server Notification Service, you can publish e-mails to Notification Service topics using either the SMTP Publisher or the IMAP Publisher.

Note: The e-mail server included with FME Server is intended for receiving e-mails. To configure FME Server to send e-mails using your own SMTP server, use the FME Server Notification Service to create an Email Subscriber. Open the FME Server Web User Interface and click Notifications > Subscriptions. For instructions on how to configure FME Server to send e-mail notifications upon success or failure of job completion, see Configuring FME Server to Send E-mail Notifications.

SMTP or IMAP?

IMAP is a pull-based mechanism. The IMAP Publisher polls an existing IMAP server (such as imap.gmail.com) for messages. As long as IMAP access is enabled on the e-mail account, no additional configuration is needed. However, because polling is conducted at intervals, FME Server may not receive e-mail messages as immediately as those sent over SMTP.

Note: Each IMAP Publisher created on FME Server must reference a unique e-mail account. You cannot create multiple IMAP Publishers that reference the same address.

SMTP is a push-based mechanism. FME Server acts as is its own lightweight SMTP server, and receives e-mails directly, rather than polling for them. As a result, e-mails may be sent to FME Server topics (and their subscribed workspaces) more immediately than e-mails delivered over IMAP.

If your FME Server is not hosted on FME Cloud, additional steps are required to configure it to receive e-mail over SMTP. If you are using FME Cloud, no additional configuration is necessary.

Sending Email to FME Server using SMTP

By default, SMTP operates over port 25 on Windows and port 7125 on Linux.

Note: Be sure to configure your network firewall settings to allow transmission of e-mails to FME Server on the applicable port.

Changing the Default SMTP Port (Optional)

  1. Determine the port on the FME Server Core host that will be used to receive e-mails.
  2. Note: Be sure to configure your network firewall settings to allow transmission of e-mails to FME Server on this port.

  3. Open the SMTP publisher configuration file:
  4. <FMEServerDir>\Server\config\publishers\email.properties

  5. Locate parameter SMTP_PORT, and update the setting to the desired port. By default, this parameter is set to port 25 on Windows installations, and 7125 on Linux.
  6. Note: To specify a port under 1024 on Linux, configure either of the following:

    Elevated privilege on the FME Server System Services (run as root). For more information, see Starting and Stopping FME Server Manually.

    Port forwarding: Configure the FME Server Core to route and forward from a source port to a destination port. For example, route traffic on port 25 to port 7125.

  7. Restart the FME Server Core service.