function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
lakslaks 

Recipient details in Mass Email template

Hi,

 

How can I get the Recipient's details while sending Mass email to users.

 

In the mail I am sending out, I want to access the recipient's FirstName, LastName, Email id etc.

 

For eg: While doing Mass Email Contacts, if the email template has Dear {!Contact.FirstName} it gets replaced by the corresponding contact's name right. Similarly what should be done to get the recipient's information in "Mass Email Users" ?

 

 

Regards,

Lakshmi.

 

Best Answer chosen by Admin (Salesforce Developers) 
lakslaks

Got the answer.

 

Saw the below info in "Merge Fields Overview" - http://ap1.salesforce.com/help/doc/en/valid_merge_fields.htm,

and it works.

 The merge fields {!Receiving_User.field_name} and {!Sending_User.field_name} work only in email templates used for mass emails.

 

It was a bit urgent & guess I posted without looking up enough on it. :-)

 

Regards,

Lakshmi.