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
Benjamin BogartBenjamin Bogart 

add email headers to SingleEmailMessage?

Is it possible to add custom headers to email sent using Messaging.SingleEmailMessage?

Thanks in advance.
NagendraNagendra (Salesforce Developers) 
Hi Benjamin,

May I request you please confirm why don't you have each email template used contain fixed text at the bottom that identifies itself? This is handy for traceability reasons when trying to figure out where an email originated from?

Please let us know if this helps.

Thanks,
Nagendra