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?

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} 
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}

<img src="" 
    width="200" height="200"/> 


Here is Preview:

Segment   IT
Rechnungsanschrift/Billing address Jeevan Bhema Nagar
Mobile            (709) 708-5320
Visit us @        www.

<img height="200" src="" 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.