Email Subscriber

Email subscriber receives notifications from FME Notification Service and delivers emails based on subscribers.

Keywords

The subject, recipients and attachment of an outgoing email can be configured by the following reserved keywords:

For example, a notification message is constructed as below:

{

"email_subject": "This is a sample email",

"email_to": "recipient@example.com",

"email_attachment": "\\myserver\attachment.txt",

"BodyContent1": "This is a paragraph",

"BodyContent2": "This is another paragraph"

}

Upon receiving this notification, the email subscriber will send an email message to recipient@example.com, with subject “This is a sample email” including an attachment, attachment.txt.

If a notification message is sent from FME REST API and it contains unstructured text message, the value of subscriber_content keyword contain the content of the text message.

Subscriber

An email subscriber is a configuration required to deliver email messages. The configuration contains information on the email server (SMTP) connection, authentication, default email subject, recipients, email body template and so on. A complete list of email subscriber properties follows:

The following dialog allows the FME Server administrator to configure the email subscription using the Web User Interface.

If email_subject and email_to keywords are specified in the notification, they will override the default email subject and recipients configured in subscriber respectively.

Email Notification Content

Email content is configured via a template on a per subscriber basis, and it defines what is included in the email content and how the content is formatted.

For example, a simple email template may look like:

This is a notification email from FME Server.

{BodyContent1}

{BodyContent2}

If notification shown in the previous example is received, the subscriber will send email with content shown below:

This is a notification email from FME Server.

This is a paragraph.

This is another paragraph.

See Also