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
AkashAkash 

How to send an Html Mail with Images from Trigger

 I am sending a mail from Trigger in which the content is in HTML format. i am able to convert the Text in HTML form.
I am having problem in adding Images in that mail. I need to add two images (one at the top & one at bottom) & text in between them. please let me know the best way to use images in html mail. should i use static resources if yes then how to use it .
or should i use documents if yes then how to use that.

i have tried two ways :---
-----           <img src="{!URLFOR($Resource.df08portal/images/template/bg_top.jpg)}"/>
-----           <img src="{!URLFOR($Resource.df08portal,  ' images/template/bg_top.jpg')}"/>

both are not working.
i did tried using <Image> Tag but even that not working..