我为我的公司配置了一个带有谷歌应用的电子邮件地址。当我从 Gmail 向 address@hotmail.com 发送邮件时,收件箱文件夹中的邮件会正确接收。
当我迁移到 Amazon SES 时,我正确配置了 SPF 和 DKIM,以便它可以正常工作。最大的问题是,当我从SES发送电子邮件时,会全部进入垃圾邮件文件夹!!
这是落入垃圾邮件文件夹的邮件的 hotmail 标头:
x-store-info:CnuewmGKkJzNjuOw4Ko28wB3rXpWYbsxTq8bIGVpexou/aH5YlneZSXtbrTNbKJ4GoT+OaKU2vnoHLIPY7tpJ7yfD4ei7NGnJPMqwC1IOiYDYaHi7z9UqM7HFUFg9PvdD/GTLm1Joes=
Authentication-Results: hotmail.com; spf=pass (sender IP is 54.240.8.95) smtp.mailfrom=0000014191bce21d-5857cbb3-7185-4a04-a62d-02029457d42b-000000@amazonses.com; dkim=pass header.d=beaudience.com; x-hmca=pass header.id=support@beaudience.com
X-SID-PRA: support@beaudience.com
X-AUTH-Result: PASS
X-SID-Result: PASS
X-Message-Status: n:n
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTE7YT0xO0Q9MjtHRD0xO1NDTD00
X-Message-Info: 11chDOWqoTmYiARgB8x0CqssYC30R1hAxykCxY7lMqvPXk+fm44PmUeqp2eso9uKqBo8WFDhDk3rZsgJn8uSIHpUqpn7/N+/COouobxjVl2F7FiiDMh/AjlIDYLoKhZeWqATlTzu9cdwruznM5Eh3gOw+h4szTV5OcHunEoeFZeggqKm4r8Wd97fzBr3wpj6Xji14R+Xo8C7zTF5xkQAV15Ns/IGAE0R
Received: from a8-95.smtp-out.amazonses.com ([54.240.8.95]) by COL0-MC3-F51.Col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4900);
Mon, 7 Oct 2013 00:06:18 -0700
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
s=fzsj4xlkgrzw4njd7a4n5dv47w5dmrc5; d=beaudience.com; t=1381129577;
h=Date:To:From:Reply-To:Subject:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
bh=d9cLexwYe6DbP7/N2SXpl7aOUi58tQ37WMdTDDTQtvA=;
b=rR0at2KyIFuhpI6HFSd56LbiVPS2uPzECnYlscb7UliQraxznWxjRKrDCF3HVNJj
1/s3xjXaOLoCLk0H0B8xa76KzWgMwtxDulEFn39G06yRd9/r/17xTYzQ/MpMMn9lUlv
VT75xxTBO7iwm8hZ4ntQtBsMnnvybLC89tAoVXNE=
Date: Mon, 7 Oct 2013 07:06:17 +0000
Return-Path: 0000014191bce21d-5857cbb3-7185-4a04-a62d-02029457d42b-000000@amazonses.com
To: luca.pennisi@live.com
From: support BeAudience <support@beaudience.com>
Reply-To: support@beaudience.com
Subject: We remember you!
Message-ID: <0000014191bce21d-5857cbb3-7185-4a04-a62d-02029457d42b-000000@email.amazonses.com>
X-Priority: 3
X-Mailer: PHPMailer 5.2.6 (https://github.com/PHPMailer/PHPMailer/)
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-SES-Outgoing: 2013.10.07-54.240.8.95
X-OriginalArrivalTime: 07 Oct 2013 07:06:18.0240 (UTC) FILETIME=[B83DF000:01CEC32B]
<html><head></head><body><b>Account
details:</b><p>username: tryHard<br />password:
porcodio</p><hr /><a
href="http://www.beaudience.com/joinus.php">Click
here to log-in</a><br /><br /><p>BeAudience
staff.</p></body></html>
我很绝望,不知道该怎么办!我已经配置了 SPF 和 DKIM,但没用!它不取决于电子邮件内容,我尝试使用不同的内容,html/非html,但与ses无关!!
这在 Amazon SES 方面不是问题,Microsoft过滤器会根据多个变量(如标头、内容、域年龄等)标记您的邮件。
这似乎是一条欢迎消息,因此最好的方法是指示用户检查垃圾邮件文件夹并将邮件标记为"非垃圾邮件"。最终,希望Microsoft将从多个用户决策中学习,并开始将您的邮件发送到收件箱。
另一个建议是,你正在使用PHPMailer发送消息。该标头(X-Mailer:PHPMailer 5.2.6)可能在到达您的内容之前触发Microsoft侧的标志。
我遇到了同样的问题。但我已经修复了它。我的步骤:
- 为邮件添加文本/HTML版本;
- 在电子邮件中检查您的 HTML,确保正确无误;
- 在SES控制面板中验证您的域名;