value="https://c.cs84.content.force.com/servlet/servlet.ImageServer?id=0155E000000DOpG&oid=00D5E0000008mQr&lastMod=1491232024000"
height="64" width="64"/><messaging:htmlEmailBody > <html> <body> <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 } </STYLE> <font face="arial" size="2"> <p/> Dear <apex:repeat value="{!RelatedTo.OpportunityContactRoles}" var="ContactRole">{!ContactRole.Contact.Name}</apex:repeat><br/><p/> Thank you for reviewing <p/> <b><apex:repeat var="opp" value="{!relatedTo.OpportunityLineItems}"> <tr> <td>{!opp.PriceBookEntry.name}</td> </tr> </apex:repeat> </b> <br/> <br/><br/>Text of email etc. etc.<br/>We look forward to hearing from you.<br/><br/>Best wishes<br/><br/>RSC </font> </body> </html> </messaging:htmlEmailBody> </messaging:emailTemplate>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! :)
1 件の回答
The image wasn't in the HTML body tags, I moved it down to underneath <body> and it worked. :)