- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2019 01:10 AM
Hi everybody,
is there a possibility to use a mail script in a plain text only mail template?
We need to send an email without html content but only text, but this mail is not static so I need to use a mail script to get different content for every mail. That mail is triggered by an event from a workflow and the content is in the parm2 variable of the event.
Best regards,
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2019 01:46 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2019 01:18 AM
Hi,
Get content in one variable and add this below script.
var text='</div>'+ add your variable here+'</div>';
template.print(text);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2019 01:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2019 01:25 AM
No,
I tried it and mail will containt ${mail_script:XXX}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2019 01:29 AM
while you preview the notification are you also getting the ${mail_script:XXX} ?