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
Sudhir_MeruSudhir_Meru 

Display Lead Name in E-Mail Subject Line

Hi,

 

  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 

 

 {!Lead.Name}

 Please suggest me how to add.

 

Thanks

Sudhir

Best Answer chosen by Admin (Salesforce Developers) 
markdamomarkdamo
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.