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
Kirill_YunussovKirill_Yunussov 

SingleEmailMessage - how to add recipient's name?

As far as I know, you can only specify the "email-to" addresses, but not the names.  As a result, Salesforce sends the email to   "persons.name@domain.com"<persons.name@domain.com>, which is a red flag for some spam filters.  

 

How can I send the email to "Persons Name"<persons.name@domain.com>?