span8
span4
Previous section:发送电子邮件,第1部分
下一节:发送电子邮件,第3部分
本教程是系列的一部分电子邮件在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.
为了从工作区发送一封电子邮件,您必须生成电子邮件通知的JSON,然后通知服务器。
添加FMEServerNotifier,设置为您的FME Server的连接。然后使用text_line_data作为其内容和设置的话题为您创建的SEND_EMAIL话题在本教程的第1部分。
注意:如果你想添加/删除的数据下载和任务提交结果的日志文件附件,关键看物业ATTACH_TRANSFORMATION_LOG在这文件。
如果您没有收到电子邮件,您可以执行以下操作来解决:
从FME Server Web界面通知页面,选择主题监视选项卡并启用监控的SEND_EMAIL话题。这将显示在话题正在接收你哪些内容
如果在主题中被接收JSON的内容,您的SMTP设置可能不正确。回顾它们,然后再试一次。有关使用日志文件排查通知的详细信息,请参阅About Log Files in FME Server。
在这部分的教程中,我们已经发了一封邮件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.
下一节
你好@amecoo。请多个收件人用逗号分隔。例如:recipientOne @ example.com,recipientTwo @ example.com,recipientThree @ example.com
From FME Server documentation:https://docs.亚搏在线safe.com/fme/html/FME_Server_Documentation/ReferenceManual/EmailSubscriber.htm
©2020安全亚搏在线软件公司|法律