What is macro for getting email id in email template?

swapnesh shikhare asked on December 20, 2016 14:51

I am sending email to list of subscribers using a email campaign.I want their email id in email template in a link on which they will click.I tried using macro called '{% Email %}' but it is showing 'firstname.lastname@yourdomain.com' as email id. What is the correct macro?

Recent Answers

Peter Mogilnitski answered on December 20, 2016 15:09 (last edited on December 10, 2019 02:30)

The system resolves dynamically macros when sending the emails. If macros in your template are not resolved correctly - it means there is insufficient context to resolve: for ex. {%Email%} portion of your macro and it usually returns empty string, but you are getting 'firstname.lastname@yourdomain.com'...

Anyway, if I am not mistaken for On-line marketing macros you can use


0 votesVote for this answer Mark as a Correct answer

Rui Wang answered on December 20, 2016 21:08

using {% Email %} should give you something like john@mail.com if you send out the actual email. But if you are only using preview or test email, if you only firstname.lastname@yourdomain.com which is the default because the test email does have any data the macro can resolve from.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.