相关疑难解决方法(0)

GMail显示纯文本电子邮件而不是HTML

My Rails 3应用程序以纯文本和HTML格式发送电子邮件.我使用RoundCube和Squirrel Mail客户端在本地测试了它们,它们都显示带有图像,链接等的HTML版本.另一方面,GMail选择纯文本格式.知道是什么导致了这个吗?

Delivered-To: test@gmail.com
Received: by 10.42.166.2 with SMTP id m2cs16081icy;
        Thu, 3 Mar 2011 17:01:48 -0800 (PST)
Received: by 10.229.211.138 with SMTP id go10mr1544841qcb.195.1299200507499;
        Thu, 03 Mar 2011 17:01:47 -0800 (PST)
Return-Path: <info@example.com>
Received: from beta.example.com (testtest.test.com [69.123.123.123])
        by mx.google.com with ESMTP id j14si1690118qcu.136.2011.03.03.17.01.46;
        Thu, 03 Mar 2011 17:01:46 -0800 (PST)
Received-SPF: neutral (google.com: 69.123.123.123 is neither permitted nor denied by best guess record for domain of info@example.com) client-ip=69.123.123.123;
Authentication-Results: mx.google.com; spf=neutral (google.com: 69.123.123.123 is neither permitted …
Run Code Online (Sandbox Code Playgroud)

email html-email mime-mail

43
推荐指数
1
解决办法
3万
查看次数

标签 统计

email ×1

html-email ×1

mime-mail ×1