How is your experience with the OutSystems Community?
Need to read email html before sending it
397
Views
1
Comments
New
Builtin & User functions

There should be a method where I can read html template with the data.

So I can show it to the user before sending a email and user can edit if he wants.

GetEmailHtml(templateScreenId, data) it will return rendered html so we can use it to edit and then pass it to sendemail method 

This. We need this, but for another reason as well. 

To my knowledge, there's hardly any OutSystems customer who uses (most of the time isn't allowed to use) standard smtp server to send emails. Therefor, the whole email functionality (and possible AOs) is just not used, since there is no way to extract email content (or to inject an external email provider into the builtin email flow).

If it was possible to get the html of the email, then we could at least use the email (screen) builder and send the resulting html to the 3rd party email system. Think of all the extra AOs that would be consumed...