You are here: Administrator's Guide > Other Common Tasks > 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 e-mail subscriber. Open the FME Server Web User Interface and click Manage > Notifications > Subscriptions tab. 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 Email Notifications on Job Completion.


The IMAP Publisher polls an existing IMAP server (such as 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.

Using SMTP, FME Server receives e-mails directly, rather than polling for them. As a result, e-mails may be pushed to FME Server topics (and their subscribed workspaces) more immediately than e-mails delivered over IMAP.

When using SMTP, keep in mind the following:

  • You must configure your network firewall settings to allow direct transmission of e-mails to FME Server.
  • There are additional steps required to configure the e-mail host name in FME Server (see below).

Configuring for SMTP

To use the SMTP e-mail server, you must change the host name of the service to the public host name you plan on assigning to the FME Server.

  1. Open this file:

    <FME Server Install DIR>\Utilities\smtprelay\james\apps\james\SAR-INF\config.xml

  2. Find the following tags:



  3. Replace the term localhost with your public host name. For example:



  4. Configure the attachments directory.

    • FME Server 2013 and later: By default, attachments are uploaded to the temp directory of the local system. To change this behavior, look for the tag <emailAttachmentDir>system</emailAttachmentDir> and replace system with the directory path you want.
    • FME Server 2012:
      1. Open the following URL in a browser: http://localhost/fmeprotocol.
      2. Click settings.
      3. Enter a directory from which an FME Workspace can read attachments.
  5. Save and close the config file, then Restart the FME Server SMTP Relay service.

  6. If you want the e-mail server to be accessible to the Internet, the following ports must be open:

    • Non-secure: SMTP: 25
    • Secure with SSL: SMTP: 465