本文介绍了Android的电子邮件,CSS媒体查询,&安培;展望交易所的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用下面的嵌入式标签和媒体查询的 HTML电子邮件内

I am using the following embedded tag and media query inside HTML email:

<style type="text/css">
@media screen and (max-device-width:800px) {
    /* styles */
}
</style>

我有Android原生邮件客户端与此问题(升级Froyo,在Galaxy S的测试,银河S2):

I have a problem with this on the Android native mail client (Froyo; testing on a Galaxy S, and a Galaxy S2):


  • 当我发送邮件到Gmail帐户,并检查它的电子邮件客户端,媒体查询的伟大工程。

  • 当我发送电子邮件至本公司的电子邮件地址 - 这是一个Microsoft Exchange Server(我相信交易所2010)上运行,媒体查询不会运行在所有

我不知道如何查看手机上的电子邮件的来源,但它似乎像电子邮件的HTML是由交易所修改了它到达设备之前。我希望它在Outlook或通过Outlook Web Access中查看时修改HTML,但我不知道为什么设备设备上的版本是越来越修改,如果是这样,以何种方式被修改。

I don't know how to view the source of the email on the phone, but it seems like the email's HTML is being modified by Exchange before it reaches the device. I would expect it to modify the HTML when viewing in Outlook or via Outlook Web Access, but I'm not sure why the version on the device device is getting modified, and if so, in what way it is modified.

有什么建议?
任何人碰到类似的事情,或者至少知道如何,因为它是存储在设备上的电子邮件的查看源文件? (一旦转发,这将是由接收电子邮件平台修改,对吧?)

Any suggestions?Anyone run into anything similar, or at least know how to "view source" of an email as it is stored on the device? (Once forwarded, it would be modified by the receiving email platform, right?)

推荐答案

我怀疑这可能是由所有媒体被存储在用户的邮箱之前剥离出来的服务器实施的策略。这将是不不同于屏蔽某些附件扩展等Gmail不存在这样的问题,因为它不具有到位的相同政策。这个问题不是客户端这么多,因为它是Exchange服务器。

I suspect this is probably a policy enforced by the server that all media is stripped out before being stored in a user's mailbox. This would be not unlike blocking certain attachment extensions, etc. Gmail doesn't have that problem because it doesn't have the same policies in place. The issue isn't the client so much as it is the Exchange server.

这篇关于Android的电子邮件,CSS媒体查询,&安培;展望交易所的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 23:58