span8
span4
span8
span4
This article was updated using FME Server 2018.1, but steps used can be applied to FME Server 2016 and above.For the FME Server 2015 version of this article, please see: Receiving email,第2部分:发送使用FMEServerNotifier电子邮件(2015)。
上一节:发送电子邮件,第1部分
下一节:发送电子邮件,第3部分
This tutorial is part of the series电子邮件在FME服务器。This is the second article in the sending emails series.The first article demonstrated how to create a topic and a subscription.This article will demonstrate how to use a workspace to send email using the FME Server Notifier.
In order to send an email from a workspace, you must generate the JSON for the email notification and then notify the Server.
添加FMEServerNotifier,设置为您的FME Server的连接。然后使用text_line_data作为其内容和设置的话题为您创建的SEND_EMAIL话题在本教程的第1部分。
Note: If you wish to add/remove the log file attachment from the Data Download and Job Submitter result, see the Key Property ATTACH_TRANSFORMATION_LOG in this文件。
If you don’t receive an email, you can do the following to troubleshoot:
From the Notifications page in the FME Server web interface, select the Topic Monitoring tab and enable monitoring on the SEND_EMAIL topic.This will show you what content is being received on the topic
If JSON content is being received in the topic, your SMTP settings are probably incorrect.Review them, and try again.For more information about troubleshooting notifications with log files, see关于在FME Server日志文件。
In this part of the tutorial, we’ve sent an email using FME Server and an SMTP server.This can easily be expanded to send an email containing a list of attributes, a count of features, or a file location.
In the next part, we will see how to send an email after a workspace completes.The email can be different depending on whether the workspace succeeded or failed.
下一节
© 2020 Safe Software Inc |Legal