Hotmail和Gmail将电子邮件标记为垃圾邮件

可能重复:
如何发送电子邮件,并避免被分类为垃圾邮件

我一直在开发一个PHP应用程序,该应用程序的function之一就是能够向用户发送电子邮件。 但是,当我试图通过应用程序(SMTP)发送电子邮件到Gmail和Hotmail帐户时,他们总是进入垃圾邮件/垃圾邮件框。 当我使用Google SMTP发送时,这不会发生。 这些电子邮件已正确传送到收件箱。

我做了什么:
– build立反向DNS
– build立域密钥(DKIM)和SPF(v = spf1 + a + mx + ip4:184.107.222.2?all)
– 运行各种IP /域名检查,我没有看到任何问题。
– 注册SNDS。 在检查我的IP后,它会显示“所有指定的IP都具有正常状态”。
– 联系Gmail和Hotmail支持。 他们没有看到任何东西,这将阻止我的邮件到达他们的客户,并build议我join发件人分数authentication邮件计划(尽pipe他们没有保证它会保证电子邮件送达到他们的客户)。

垃圾邮件框中的邮件标题示例(站点名称已由xxxreplace):

Delivered-To: [email protected] Received: by 10.50.17.8 with SMTP id k8csp200979igd; Sun, 23 Dec 2012 05:13:19 -0800 (PST) X-Received: by 10.50.53.162 with SMTP id c2mr13168931igp.112.1356268399035; Sun, 23 Dec 2012 05:13:19 -0800 (PST) Return-Path: <[email protected]> Received: from server.xxx.com (server.xxx.com. [184.107.222.2]) by mx.google.com with ESMTPS id gx9si16855394igb.34.2012.12.23.05.13.18 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 23 Dec 2012 05:13:18 -0800 (PST) Received-SPF: pass (google.com: domain of [email protected] designates 184.107.222.2 as permitted sender) client-ip=184.107.222.2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 184.107.222.2 as permitted sender) smtp.mail=admin@xxx .com; dkim=pass [email protected] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xxx.com; s=default; h=Content-Type:MIME-Version:Message-ID:Subject:Reply-to:From:To:Date; bh=C+NTtxJMfonnwJsUGv2YpiHXmAQt43Cmk567o37IJhA=; b=UlnRc4rM6uVp44OaPfIicZ3vgH7eKR+7E4BQwADhtVSgvlmnwlw4aqGanvUZn8jGCWJ4hdPNFY3GLWJ5uT82EM57baCL0t7yxgjWg7/CXm4IHJ0SusxWI+e5JjGBv3pd; Received: from server.xxx.com ([184.107.222.2]:38728 helo=applicationnewtest.xxx.com) by server.xxx.com with esmtpa (Exim 4.80) (envelope-from <[email protected]>) id 1Tmlwc-0004uj-GQ for [email protected]; Sun, 23 Dec 2012 07:50:22 -0600 Date: Sun, 23 Dec 2012 07:50:22 -0600 To: New Supplier <[email protected]> From: Distributor Bid Builder <[email protected]> Reply-to: Distributor Bid Builder <[email protected]> Subject: Supplier Purchase Order Email Copy Message-ID: <[email protected]> X-Priority: 3 X-Mailer: PHPMailer 5.0.0 (phpmailer.codeworxtech.com) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_f8c08c9269c441d7a0e04b7ba37e9adf" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.xxx.com X-AntiAbuse: Original Domain - gmail.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - xxx.com X-Get-Message-Sender-Via: server.xxx.com: authenticated_id: [email protected] --b1_f8c08c9269c441d7a0e04b7ba37e9adf Content-Type: text/html; charset = "UTF-8" Content-Transfer-Encoding: 8bit This is purchase order document for purchase order #1001.<br><br><hr>PS This is a post-only mailing. Replies to this message are not monitored or answered. --b1_f8c08c9269c441d7a0e04b7ba37e9adf Content-Type: application/octet-stream; name="Supplier Purchase Order #1001 Email Copy.pdf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Supplier Purchase Order #1001 Email Copy.pdf" (attachment) 

你发现我的configuration有什么问题吗?

在为微软的JMRP程序注册收集信息时,我不确定接下来应该做什么(如果它不会使这些电子邮件进入收件箱)。 是否真的有必要注册Sender Scoreauthentication计划/使用电子邮件传送服务? 有没有一个非商业的解决scheme呢?

您的邮件被拒绝为垃圾邮件,因为它与一个非常常见的恶意软件分发scheme的configuration文件完全匹配:声称是订单或发货确认的邮件,以及PDF附件。

我的build议:

  1. 清理语法。 “这是采购订单#1001的采购订单文件”? 破碎的英语听起来令人难以置信的垃圾邮件,虽然我声称没有内幕知识,但您可以假设Gmail认为糟糕的语法是评分潜在的垃圾邮件的一个因素。 真正的采购订单只是标题为“采购订单”,然后是实际的采购订单内容。 它不会先说,“你好朋友,这是买定购的定单”。

  2. 将PDF附件replace为内嵌内容。 通过恶意制作的PDF附件利用Adobe漏洞是感染远程计算机恶意软件的一种非常stream行的方式。 如果我是Gmail,我会将来自未知发件人的PDF附件标记为垃圾邮件。

  3. 摆脱“只发邮件”的巨无霸,几乎肯定会提高你的贝叶斯垃圾评分,并从有效的回复地址发送消息。 如果你真的以这种方式发送真正的采购订单,你会想知道他们是否反弹,你会希望供应商能够回复,对不对? 对。

  4. 您需要包括公司的名称和地址,链接到您的网站,有效的联系电子邮件地址和电话信息等。您的消息看起来越匿名和“挨打”,它越可能被归类为垃圾邮件。

  5. 除非有很好的理由不这样做,否则你应该用-all结束你的SPFlogging。 SPFlogging的全部内容是积极确定有效的发件人IP,并禁止其他人。 您不应该将其留给接收邮件服务器来决定未列出的发件人IP是否有效。