Skip to main content
Question

Can we plaster a HTML page in the email body for automations in FME Server 2019?

  • August 5, 2019
  • 5 replies
  • 298 views

FME folks,

 

We have been using FME Server's new event driven automation with great success. Our FME server workspace creates a nice HTML report page when executed and is attached to a notification email upon successful completion of the task. We were just wondering if it is possible without much modifications to simply use the HTML report in the email body instead of using plain text? While I have read and seen some FME workbenches that uses html in creating the email body, our intention is to present the HTML report created to simply appear as the email body when sent out.

Any inputs regarding this topic will be greatly appreciated. If not possible now, may be it will be a good 'new idea' for future.

Best wishes,

Deep Bhari

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+47
  • Celebrity
  • 2000 replies
  • August 5, 2019

You should be able add the html_content into the body of the 'emailer' transformer and send it as is. I did have some trouble with the email displaying the report correctly though so it may not work.

 

 

It's not using the notification, however, that may require a little more work but it should be doable with a text file writer passing the html as the notification content to the email subscription.

 

 

 

 


rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • 671 replies
  • August 6, 2019

Hi @deepbhari, you are not yet* able to pass the output of a workspace (where your HTML report is created) into parameters for the "Send an email" Action in FME Server Automations.

I would recommend following the approach suggested by @virtualcitymatt to either use the Emailer transformer, or to use the Notifications feature in FME Server by triggering an Email Subscription via Topics.

*Our developers are investigating the ability to pass through output from Workspaces in FME Server Automations to give you more control and customizability downstream... it's very early days, and changes are currently targeted for FME Server 2020.0.


benvk
Contributor
Forum|alt.badge.img+8
  • Contributor
  • 60 replies
  • April 5, 2022

Hi @deepbhari, you are not yet* able to pass the output of a workspace (where your HTML report is created) into parameters for the "Send an email" Action in FME Server Automations.

I would recommend following the approach suggested by @virtualcitymatt to either use the Emailer transformer, or to use the Notifications feature in FME Server by triggering an Email Subscription via Topics.

*Our developers are investigating the ability to pass through output from Workspaces in FME Server Automations to give you more control and customizability downstream... it's very early days, and changes are currently targeted for FME Server 2020.0.

@rylanatsafe​ I have just found this old post and am looking to add my HTML report as the body of my Emailer email, is this possible here in 2022?


redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3699 replies
  • April 5, 2022

@rylanatsafe​ I have just found this old post and am looking to add my HTML report as the body of my Emailer email, is this possible here in 2022?

You can put HTML in the body of an email that you're making with the Emailer transformer. There's a couple of things that may not work, if I recall correctly most of that is due to email clients restricting e.g. scripting and external references out of security concerns.


rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • 671 replies
  • April 5, 2022

@rylanatsafe​ I have just found this old post and am looking to add my HTML report as the body of my Emailer email, is this possible here in 2022?

I'll echo the response from @Hans van der Maarel​ —you can add HTML to the body of the email with the Emailer transformer, but best to do some testing for what is going to make it through mail servers.