HTML电子邮件图像在Outlook中正常工作但在Outlook.com中没有

我使用PHP发送HTML简报电子邮件,我遇到电子邮件中的图像问题。 在Outlook 2013中,图像显示完美,但在Outlook.com中,某些图像无法显示。</ p>

在电子邮件中有两个图像:一个是徽标,另一个是配置文件 用户的图片。 该徽标的URL是 http://70.39.151.44/~ramsay6/leadsheet/resources/leadsheet_logo.png </ code>,但它不起作用。</ p>

搞笑 部分是当个人资料图片URL是 http://cdn.icons8.com/storage/iOS7/PNG/50/Users/user_male-50.png </ code>(远程站点)时图片显示,但是当 该URL是 http://70.39.151.44/~ramsay6/leadsheet/accountimg/1-ramsay.png </ code>,它不显示。</ p>

Outlook.com使用 用于访问图片的代理。 我的网站的网址是否会导致错误?</ p>
</ div>

展开原文

原文

I am using PHP to send a HTML newsletter email and I am having problems with the images in the email. In Outlook 2013 the images display perfectly fine but in Outlook.com some of the images do not display.

In the email there are two images: one is the logo and the other is the profile picture of the user. The URL for the logo is http://70.39.151.44/~ramsay6/leadsheet/resources/leadsheet_logo.png and it does not work.

The funny part is when the profile picture URL is http://cdn.icons8.com/storage/iOS7/PNG/50/Users/user_male-50.png (remote site) the picture displays, but when the URL is http://70.39.151.44/~ramsay6/leadsheet/accountimg/1-ramsay.png it does not display.

Outlook.com uses a proxy to access the pictures. Could the URL of my website be causing the error?

1个回答

Looks like it! Webmail clients have tough security restrictions- that's why they don't allow linked CSS sheets or JS. It's also why GMail strips your <style> tag.

Looks like you need to host your images from a registered domain or else Outlook.com finds them risky and ignores them.

dove2199
dove2199 那讲得通。 我猜Outlook.com不喜欢我的域名。
接近 6 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐