2

I have an Email triggered on User object and want to say Dear User.FirstName something something.

In the merge field for Email template, User.FirstName will only reference the current User's first name. However, I need the selected User record's FirstName, thus the recipient's FirstName. How do I differentiate the two fields and make the correct merge field in the Email template?

Thanks a lot.

2

Use the ReceivingUser variable instead of the User variable; the ReceivingUser parameter is the user being addressed, while User is the person sending the email.

  • No. This does not work. Receiving User will only work for Mass Email or The Email triggered by Community. I have figured it out. We should use {!Target_User.FirstName}, the Target_User reference the receiving user. – Yifei Pei Sep 6 '16 at 4:58
2

I resolved this issue. From the Email Template Editing page, there is an "Available Merge Fields". From that panel, people can choose whatever merge field for the Email template.

Here for my usage, the correct merge field should be "Target_User".

Receiving_User does not work as it is working for either Email triggered from Community or the Mass Email.

Thanks a lot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.