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
Complete noviceComplete novice 

Visualforce email Letterhead not working

Hi, I am creating my first VF email template and everything is working ok, apart from the letterhead.

I have saved the image in a folder accessible by all users, and the image is externally available.  However the image doesn't show on the preview or on the email that I receive when I test it.  It looks no different to when I don't include the image part.

This is the code (image part in italics):

<messaging:emailTemplate subject="Is it right for your course?" recipientType="Contact"
 replyTo="" >
<apex:image id="Campaign_email_template_1_header"
height="64" width="64"/>

<messaging:htmlEmailBody >        
         <STYLE type="text/css">
                  TH {font-size: 14px; font-face: arial;background: #FFFFFF; border-width: 0;  text-align: center }
               TD  {font-size: 14px; font-face: arial }
           <font face="arial" size="2">
      <p/>  Dear   
      <apex:repeat value="{!RelatedTo.OpportunityContactRoles}" var="ContactRole">
<p/>  Thank you for reviewing <p/>                  
    <b><apex:repeat var="opp" value="{!relatedTo.OpportunityLineItems}">
      </apex:repeat>  </b>  
Text of email etc. etc.

<br/>We look forward to hearing from you.
<br/>Best wishes

Can anyone give me any ideas as to where I've gone wrong please?  In easy to understand words, as I don't 'do' code! :)
Complete noviceComplete novice
The image wasn't in the HTML body tags, I moved it down to underneath <body> and it worked. :)