+ Start a Discussion

populating subject of an email dynamically

How to populate subject of an email dynamically with the contact fields. While sending an mass email.


Ex: I have a list of contacts to which i need to send an email and while sending an email how can i populate the subject dynamically with contact fields.


Please let me know if any soln to my requirement.




Ritesh AswaneyRitesh Aswaney

You can use merge fields in VF Email templates - eg {!Contact.Name}


But i need to display the merge Fields in the Subject of an email.

While sending a mass email.

Using Email Templates we can show the merge fields with in the content of mail.


How can we show merge field in the subject?