我正在开发一项服务,让用户可以通过电子邮件将我们的内容发送给他们的朋友。问题是这些电子邮件经常被当作垃圾邮件。所以我尝试了所有方法,让我的服务器能够发送带有正确标头(SPF、DKIM、rDNS 等)的优质电子邮件。
现在电子邮件的标题很干净,hotmail 或 yahoo 也能正常接收,但在 Gmail 中仍被标记为垃圾邮件!我对此完全抓狂,因为我不知道我做错了什么。用户订阅时的欢迎消息几乎具有相同的模板,但并未被视为垃圾邮件...
以下是标头的示例(其中我隐藏了 IP 和域):
Delivered-To: [email protected]
Received: by 10.68.217.163 with SMTP id oz3csp61408pbc;
Thu, 17 Jan 2013 05:07:39 -0800 (PST)
X-Received: by 10.194.172.228 with SMTP id bf4mr8314430wjc.38.1358428059148;
Thu, 17 Jan 2013 05:07:39 -0800 (PST)
Return-Path: <[email protected]>
Received: from mail.mydomain.com (mail.mydomain.com. [37.XX.XX.150])
by mx.google.com with ESMTPS id wp9si543337wjb.22.2013.01.17.05.07.38
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Thu, 17 Jan 2013 05:07:39 -0800 (PST)
Received-SPF: pass (google.com: domain of [email protected] designates 37.XX.XX.150 as permitted sender) client-ip=37.XX.XX.150;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of [email protected] designates 37.XX.XX.150 as permitted sender) [email protected]
Received: (qmail 22048 invoked by uid 502); 17 Jan 2013 14:07:38 +0100
Date: 17 Jan 2013 14:07:38 +0100
Message-ID: <[email protected]>
To: [email protected]
Subject: Carlos t'as envoyé un Cut
X-PHP-Originating-Script: 10000:functions.php
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="Multipart_NextPart-9004e0d0de3def8e547ef1c1218c9aab"
From: Carlos sur Service <[email protected]>
Reply-To: Carlos <[email protected]>
有什么想法吗?提前谢谢!
附言:
我在 html 中使用了 2 张图片、2 个指向 mydomain.com 的链接、2 个社交链接和一些文本。我使用了在http://www.zurb.com/playground/responsive-email-templates