Skip to main content
Solved

Best way to insert content of a list into an email ?

  • November 2, 2016
  • 6 replies
  • 282 views

lifalin2016
Contributor
Forum|alt.badge.img+29

Hi,

I'm faced with sending circa 10000 emails to clients from FME. That's one email per user per feature.

There are only some 10 mail receivers, the huge number comes from sending them each many notifications.

If I want to gather all notifications into a single email per receiver, what is the best/easiest way to achieve that ?

I can aggregate the individual notification content into a list per receiver, but where to go from there ?

Cheers

 

Lars I

Best answer by ciarab

I have been doing this with the html report generator-- creating a table which is grouped by User email- now my end users have signed up to receive notifications about different features. So I am grouping all features into a table that they are interested about

then using the html content built from the htmlreportgenerator in the emailer (body/content section) to send out to the data to the end users. So its only 1 email per customer with a list of all features.

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

6 replies

ciarab
Contributor
Forum|alt.badge.img+9
  • Contributor
  • Best Answer
  • November 2, 2016

I have been doing this with the html report generator-- creating a table which is grouped by User email- now my end users have signed up to receive notifications about different features. So I am grouping all features into a table that they are interested about

then using the html content built from the htmlreportgenerator in the emailer (body/content section) to send out to the data to the end users. So its only 1 email per customer with a list of all features.


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • November 2, 2016

If you are using FMEServer then I would look at the custom transformer FMEServerEmailGenerator, followed by a FMEServerNotifier.

 

 

If in desktop, there is the Emailer transformer, where you can set the Body of the email message to an attribute.

lifalin2016
Contributor
Forum|alt.badge.img+29
  • Author
  • Contributor
  • November 2, 2016
jdh wrote:

If you are using FMEServer then I would look at the custom transformer FMEServerEmailGenerator, followed by a FMEServerNotifier.

 

 

If in desktop, there is the Emailer transformer, where you can set the Body of the email message to an attribute.
Alas, no FME Server yet :-)

 

 


lifalin2016
Contributor
Forum|alt.badge.img+29
  • Author
  • Contributor
  • November 3, 2016

Hi all,

Thanks @ciarab for your suggestion.

I ended up creating a HTML document with a bulleted list for my items, and that worked fine.

But I also ran into some irritating formatting issues:

  1. The "HTML Report Generator" always generates a full HTML document. This makes it cumbersome to create a nice document.
  2. Any HTML tags in my textual parts are encoded, so I needed to makes multiple replacements on the transformer output to have it work ("<" => "<", ">" => ">" etc.)
  3. The output document is not very nice, as the text font is never set in the document.

I will make some suggestions for making this transformer better.

Cheers

 

Lars I

ciarab
Contributor
Forum|alt.badge.img+9
  • Contributor
  • November 3, 2016
lifalin2016 wrote:

Hi all,

Thanks @ciarab for your suggestion.

I ended up creating a HTML document with a bulleted list for my items, and that worked fine.

But I also ran into some irritating formatting issues:

  1. The "HTML Report Generator" always generates a full HTML document. This makes it cumbersome to create a nice document.
  2. Any HTML tags in my textual parts are encoded, so I needed to makes multiple replacements on the transformer output to have it work ("<" => "<", ">" => ">" etc.)
  3. The output document is not very nice, as the text font is never set in the document.

I will make some suggestions for making this transformer better.

Cheers

 

Lars I
I completely agree with you Lars, found the same issue with the text font and having to go back in and try and change the font type. I'm hoping to see some changes in the next few releases myself!

 

 


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • November 3, 2016
ciarab wrote:
I completely agree with you Lars, found the same issue with the text font and having to go back in and try and change the font type. I'm hoping to see some changes in the next few releases myself!

 

 

For these type of things I use the xml templater rather than the htmlReportGenerator, as it give me much finer control over the elements.

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings