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
Jerrod Knapp 11Jerrod Knapp 11 

APEX class sending blank HTML email

Hello,

I have an Apex class sending emails based on an account status.  It is sending an "HTML with Letterhead" email template.  When the email is sent, email clients using HTML are getting a blank email while plain text email clients get the email body but no letterhead.  

When I test the email inside of salesforce from the template it sends the email with letterhead just fine to all email client types but when the APEX sends the emails it just doesn't work in HTML.

Please help!!  Thanks in advance.

Jerrod