图像未在ASP.NET中显示在电子邮件中 [英] Image is not getting display on email in ASP.NET
问题描述
我发送的电子邮件模板包含图片作为徽标。
现在的问题是,当我检查我的Gmail收件箱时,图像没有显示。
请建议。
我尝试过:
< 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>
尝试在CDN或您的域中上传徽标并提供图像的完整地址,例如< img src = http://www.domainorcdnaddress.com/images/im agename.png >
相对地址无效情况下。
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"> </div>
<div style="background-color:skyblue">
<div style="font-family:Arial;font-size:10pt">
Try to upload in CDN or in Your Domain that logo and Give Complete address of the image like<img src="http://www.domainorcdnaddress.com/images/imagename.png">
Relative address can not work in your case.
这篇关于图像未在ASP.NET中显示在电子邮件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!