使用js encodeURI的图像不会显示在电子邮件中

时间:2012-11-22 13:05:36

标签: c# javascript html css email

我正在从我的网站发送电子邮件。电子邮件是html并包含图像。 看起来像编码的uris没有在outlook,gmail等中显示。

这个没有显示: 路径:Example

EmailSource(前景):

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Test6<br><br><br><br>
<img alt="" src="http://www.example.com/fileshare/filarkivroot/Bilder/Rett%20til%20%C3%A5%20lese/Lydkort_bilder/15_Murakami_2_kort.jpg"> 
<br><br><br><br>

这个确实显示在电子邮件中:

路径: http://www.rettilaalese.no/fileshare/filarkivroot/shop/Produktgruppe/medium.jpg

电子邮件来源(展望):

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Test5<br><br><br><br>
<img alt="" src="http://example.com/fileshare/filarkivroot/shop/Produktgruppe/medium.jpg">
<br><br><br><br>Hilsen Espen

当使用正确的网址(而不是example.com)时,图片存在并显示在浏览器中

0 个答案:

没有答案