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
Enrico Maria BalattiEnrico Maria Balatti 

SingleEmailMessage with Email Template and User Signature

Dear all,

 

I have the following situation:

- html Email signature  in the Personal Email User Settings

- Some Email Template (when in the body there is an Email Signature)

- Some email sent by apex code with SingleEmailMessage

 

What happens is that email sent by Apex with the Email Template are sent with both the Signature in the Email Template (and this is ok) and also the Signature of the Current logged in user (and this is NOT ok).

I think that when an email is sent with the TemplateId, the current user logged in Email signature should not be included in the sent email!

 

BR,
Enrico