Pulling in a subject line for a "mailto:" snippet
Hi everyone,
I've created a snippet that has a "Mail Us" CTA which is just a simple "mailto:xxx@company.com." I want to add a "?subject=RE: (subject line)" to it and populate the subject line of the email the snippet is embedded in.
Is there a simple way to grab the subject line of the email and add it in the "mailto:" line of code? I want to avoid making a "my token" for the SL since there this will cause a headache of multiple custom subject line tokens when multiple emails lie within the same folder or program. (for example {{my.SubjectLine}}="Welcome to the Program" would work for one email but not other emails within the folder)
Is there a simple velocity script that can grab the subject line of the email it is embedded in? If anyone has an idea, that would be great.
Thanks!
-yonder