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
Guru 91Guru 91 

how to include logo in Email template?

Hi,
I have written visual email templates and I want to display logo but it is not showing logo.

Here my Template:

<messaging:emailTemplate subject="Regarding Student" recipientType="Contact" relatedToType="user">
<messaging:plainTextEmailBody >

{!RelatedTo.FirstName} {!RelatedTo.LastName} 
_____________________________________________
Continental 
Division  {!RelatedTo.Division__c}
Segment   {!RelatedTo.Segment__c}
Rechnungsanschrift/Billing address {!RelatedTo.Billing_Address__c}
Mobile            {!RelatedTo.MobilePhone}
Email             {!RelatedTo.Email}  
Visit us @        {!RelatedTo.URL__c}
______________________________________________

http://www.continental-corporation.com  

<img src="https://testguru--test1--c.cs50.visual.force.com/resource/1509087818000/Contitechtest" 
    width="200" height="200"/> 

</messaging:plainTextEmailBody>
</messaging:emailTemplate>


Here is Preview:

Guru 
_____________________________________________
Continental 
Division  
Segment   IT
Rechnungsanschrift/Billing address Jeevan Bhema Nagar
Mobile            (709) 708-5320
Email             vguru@race2cloud.com  
Visit us @        www. race2cloud.com
______________________________________________

http://www.continental-corporation.com  

<img height="200" src="https://testguru--test1--c.cs50.visual.force.com/resource/1509087818000/Contitechtest" width="200" />
Derhyk Doggett -Derhyk Doggett -
Try this: put your image as a Document in the Documents tab, make sure to enable "Externally Available Image".
Then once uploaded, right click the image and select 'open image in new tab'
The URL that the image opens in - copy that and replace that as your image src.

User-added image

Hope that helps.

--Derhyk