span8
span4
FME具有发送电子邮件通知到外部客户的能力,这可以使用FME工作台邮件器变压器,或者使用FME Server上的自动化控制系统的电子邮件操作来完成。本文旨在提供的,为什么你可以选择使用比其他取决于一个方法对你的使用情况的概述。
乍一看,跨两个技术的功能出现类似于作为视觉上可它们具有几乎相同的参数。然而,考虑到该选项时,是最适合你的项目有许多的问题,你可以开始问这可能有助于确定使用的方法。
Who do you want to receive the email?
What does the email body contain, is the message static text or dynamic?
Attribute information?
Job information?
Attachments?
When in the translation do you want to send the email?
Why are you sending the email, do you even need to run a workspace?
Emailer vs.Email Action Parameters
使用邮件器变压器意味着你可以通过属性值到电子邮件正文中,例如,你可以使用HTMLReportGenerator和包括html_content属性显示在电子邮件正文中一个美化报表,而不是附件。
邮件器将发送一封电子邮件,只要功能达到了变压器,其中在自动化控制系统的电子邮件仅会被工作区的翻译已经完成触发。这提供了哪些方案的电子邮件实际上是发出了额外的控制。
该电子邮件的行动目前只允许被上传一个附件,所以为了发送多个附件,你就必须在这些工作区发送到一个压缩文件,通过邮件器变压器代替这些可以保持个人上传。
如果你需要大量的工作空间,以发送电子邮件,变压器让您保存参数设置为预设,这意味着你只需要一次配置电子邮件SMTP设置,并前进可以直接引用这个预设。
根据您的个人喜好,你可能更愿意使用邮件器,以便与该工作空间,一切都在一个单一的工作流程放在一起。亚搏在线
如果这个工作区将继续通过FME Server的手动运行,以及,那么你可以选择使用邮件器让你在每个平台相同的结果。
通过发送电子邮件在工作完成之后,you have access to additional parameters such as about the job, such as the id, status message, time submitted/finished, and the job log.
Using the Email Action allows the workspace to finish and frees up the engine it was using ready to start processing the next queued job.
Using Automations, you can send emails directly in response to a trigger without the need to even run a workspace, this may be particularly useful for FME Server Administrators who would like to monitor events that take place on the system.
Once a workspace has been published to FME Server, the parameters can no longer be edited, therefore if there were any changes to the email parameters, for example, the sender credentials, you would have to download, modify and republish the workspace.By using the Email action, you can manage the configuration through the Web UI.
By setting up the Email Action, you are not confining the email to a single workflow.You may find this preferable as you can easily identify how things are linked together through the Web UI, it also means you can configure multiple workspaces to use the same email action.
In FME Server 2020, it will be possible tofetch attributes from a workspace out into an Automation.As such, the first two advantages currently for the Emailer only, will be applicable to both options.
What?
|
Emailer
|
Email Action
|
Include attribute values in email |
✓
|
✓ - in FME 2020
|
在翻译过程中发送电子邮件 |
✓
|
✓ - in FME 2020
|
发送多个附件 |
✓
|
╳
|
Send job information |
╳
|
✓
|
Email configuration presets |
✓
|
╳
|
Keep all actions contained in a single workflow |
✓
|
╳
|
Send email without running a workspace |
╳
|
✓
|
Email configuration manageable through Web UI |
╳
|
✓
|
©2020安全亚搏在线软件公司|法律