- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 01:35 PM
We have a need to add css to the a tag to create an email response because using syntax ${mailto:xxxx} doesn't appear to allow you to put css on that <a> tag that gets generated. In order to add css we need to manually construct the mailto. The only issue I am encountering is how to get the email watermark in the body of the response email we are creating.
Would anyone know how to get that watermark when we generate the response email using mailto?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 01:50 PM
Hi abrahams,
As far as I understand your query you can try the following script to add water mark;
var waterMark = email.watermark;
var emailButton = '<a href="mailto:'+emailAddress+'?subject=Re:'+emailSubject+'&body='+emailBody+'\n\n'+waterMark+'"'+buttonStyle+'>'+gs.getMessage(buttonText)+'</a>';
These 2 statements are from my previous work.
Hopefully this will resolve your query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 01:50 PM
Hi abrahams,
As far as I understand your query you can try the following script to add water mark;
var waterMark = email.watermark;
var emailButton = '<a href="mailto:'+emailAddress+'?subject=Re:'+emailSubject+'&body='+emailBody+'\n\n'+waterMark+'"'+buttonStyle+'>'+gs.getMessage(buttonText)+'</a>';
These 2 statements are from my previous work.
Hopefully this will resolve your query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 01:54 PM
You are brilliant ... Thank you!!!