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

Display Lead Name in E-Mail Subject Line



  I Created a E-Mail Template for Leads. My Requirement is to add Lead Name in the Subject Line.


  I tried adding Below code in the subject but its not showing when email is triggered 



 Please suggest me how to add.




Best Answer chosen by Admin (Salesforce Developers) 
You could try {!Lead.FirstName} {!Lead.LastName}. You can also test that the merge fields are working correctly by pressing the button 'Send Test and Verify Merge Fields' when you are on the email template page.