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
Max Friel.ax1251Max Friel.ax1251 

Rich Text field in Email template tests fine but doesn't display when sent programattically

I have a rich text field that I put a URI in.  I placed it in a PDF attachment in a VF e-mail template.  When I use the Send Test and Verify Merge fields button on the template it works perfectly.  When I try to use this code to send it out...

List<Messaging.SingleEmailMessage> sendMe = new List<Messaging.SingleEmailMessage>();
for(sObject obj : actIn){
	Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();

 Everything else comes out exactly the same but the image is missing from the PDF.  Any thoughts?