Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

I am sending an email template which contain image as a logo.

Now problem is that , when i check my gmail inbox that image is not getting displayed.

Please suggest.

What I have tried:

<img src="~/images/LogoEmail.png" />
<div style="border-top:3px solid #22BCE5">&nbsp;</div>
<div style="background-color:skyblue">
<div style="font-family:Arial;font-size:10pt">
Posted
Updated 8-Jul-16 8:06am
v3
Comments
Torakami 8-Jul-16 13:48pm    
when i check image url from email body

for some reason this is how it is getting populated url

https://ci4.googleusercontent.com/proxy/Ae-cMi7B4IH5q6l8b5SRtwcXpFJk9NNxOABCqWksnA5kQFYT7KiqELkPxRew21hIMDAlqRFaekZVKUhLaTbe1M4=s0-d-e1-ft#http://localhost:20871/images/LogoEmail.png

1 solution

Try to upload in CDN or in Your Domain that logo and Give Complete address of the image like
HTML
<img src="http://www.domainorcdnaddress.com/images/imagename.png">

Relative address can not work in your case.
 
Share this answer
 
v2
Comments
Torakami 9-Jul-16 7:23am    
I have tried this as well

<img src="http://localhost:20871/images/LogoEmail.png" />

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900