span8
span4
本文使用FME服务器2018.1进行了更新。but steps used can be applied to FME Server 2016 and above.对于本文的FME Server 2015版本,please see: Receiving email,Part 2: Sending an email using the FMEServerNotifier (2015).
Previous section:Sending email,Part 1
Next section: Sending email,Part 3
This tutorial is part of the seriesEmail in FME Server.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.
Add an FMEServerNotifier,set the connection to your FME Server.Then using text_line_data as its content and set the topic to the SEND_EMAIL topic you created in part 1 of this tutorial.
Note: If you wish to add/remove the log file attachment from the Data Download and Job Submitter result,请参阅下面的key属性attach_transformation_日志documentation.
If you don't receive an email,you can do the following to troubleshoot:
从FME服务器Web界面的通知页面,选择主题监控选项卡并在发送电子邮件主题上启用监控。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,再试一次。For more information about troubleshooting notifications with log files,seeAbout Log Files in FME Server.
In this part of the tutorial,我们已经使用FME服务器和SMTP服务器发送了一封电子邮件。This can easily be expanded to send an email containing a list of attributes,一系列功能,或文件位置。
In the next part,we will see how to send an email after a workspace completes.根据工作区是成功还是失败,电子邮件可能会有所不同。
Next section
Sending email,第1部分:设置主题和电子邮件订户(2015年)
Sending email,Part 2: Sending an email using the FMEServerNotifier (2015)
Receiving email,Part 3: Using email attachments (2015)
Sending email,Part 3: Sending an email when a workspace completes (2015)
Receiving email,Part 1: Setting up a topic and an email address (2015)
Sending email,Part 5: Sending an email with attachments (2015)
Sending email,Part 4: Sending prettier email using HTML (2015)
Receiving email,第2部分:使用工作区处理电子邮件(2015年)
Receiving email,Part 1: Setting up a topic and an email address
© 2019 亚搏在线Safe Software Inc |Legal