You are here: InfrastructureEmailer

Emailer

Sends one email per input feature via Simple Mail Transfer Protocol (SMTP). Both HTML and Plain Text emails may be sent, each with one or more attachments.

To use this transformer, a server that accepts SMTP requests must be available and the connection parameters and authentication fully specified.

Input Ports

Output Ports

Parameters

Addressing

Cc/Bcc

Message

SMTP Connection

Sender Authentication

SMTP Connection Parameter Examples

To send an email, the host name, receiving port, and encryption method must be specified. Each of these is described above. Consult your system administrator for the settings you should use for the SMTP server parameters, but as a starting point, here are the settings for several common SMTP servers:

Amazon Simple Email Service (SES):

Parameter

Value

Host email-smtp.<region>.amazonaws.com
Port 587
Encryption TLS
Sender Authentication Yes
Sender's Username <your SES-generated username>
Sender's Password <your SES-generated password>

Subsitute your region for <region> in the Host. For example, if your AWS region was us-east-1, then your host would be email-smtp.us-east-1.amazonaws.com

Google Gmail:

Parameter

Value

Host smtp.gmail.com
Port 587
Encryption TLS
Sender Authentication Yes
Sender's Username <your Gmail address>
Sender's Password <your Gmail password>

Note that using Gmail to send SMTP messages requires you to have to disable security on your Gmail account by following the instructions at https://www.google.com/settings/security/lesssecureapps and therefore is not recommended.

Insecure Relay:

Parameter

Value

Host <your hostname>
Port 25
Encryption None
Sender Authentication No

You may have an in-house relay available to you. Default settings such as the above may work in such a case, but these are not recommended for a production system.

Usage Notes

This transformer is often used to notify recipients of translation status. It is often used downstream from the FeatureWriter to either send statistics of the translation, or in fact the output of the translation, via email. The TempPathnameCreator transformer may be useful in such workflows.

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories

Infrastructure

Search FME Knowledge Center

Search for samples and information about this transformer on the FME Knowledge Center.