在我的服务器中,我通过 PHP 发送邮件,但我的邮件总是进入垃圾邮件文件夹。我做了spf记录,但这并不重要。我还在这个域中使用谷歌应用服务。请帮忙
邮件原文:
Delivered-To: [email protected]
Received: by 10.42.178.133 with SMTP id bm5cs95762icb;
Fri, 31 Dec 2010 19:49:46 -0800 (PST)
Received: by 10.223.112.1 with SMTP id u1mr875459fap.109.1293853785941;
Fri, 31 Dec 2010 19:49:45 -0800 (PST)
Return-Path: <[email protected]>
Received: from loft1397.serverloft.eu (loft1397.serverloft.eu [82.25.120.6])
by mx.google.com with ESMTPS id 17si15455863fau.0.2010.12.31.19.49.45
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Fri, 31 Dec 2010 19:49:45 -0800 (PST)
Received-SPF: pass (google.com: best guess record for domain of [email protected] designates 82.25.120.6 as permitted sender) client-ip=82.25.120.6;
Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of [email protected] designates 82.25.120.6 as permitted sender) [email protected]
Received: from loft1397.serverloft.eu (unknown [127.0.0.1])
by loft1397.serverloft.eu (Postfix) with ESMTP id 145B623A87F4
for <[email protected]>; Sat, 1 Jan 2011 03:49:45 +0000 (UTC)
Received: by loft1397.serverloft.eu (Postfix, from userid 48)
id EED7623A8831; Sat, 1 Jan 2011 03:49:44 +0000 (UTC)
To: [email protected]
Subject: Test mail
From: [email protected]
Message-Id: <[email protected]>
Date: Sat, 1 Jan 2011 03:49:44 +0000 (UTC)
Hello! This is a simple email message.
域名 SPF 记录:v=spf1 ip4:82.25.120.6 ip4:85.25.122.12 包括:_spf.google.com ~全部
首先,从长远来看,要解决这个问题,最好的办法就是使用服务发送电子邮件。它们有很多,但我听说过关于这三个的好消息:
-
http://sendgrid.com/(我正在使用这些家伙,到目前为止我很高兴)
- http://postageapp.com/
- http://postmarkapp.com/
还有一个新人应该很酷,http://www.emailyak.com/,但它们仍处于测试阶段。所有服务都非常实惠,具有超级简单的 API,并且很可能会立即解决您的问题。
如果这不是一个选项,或者如果您只是不想朝这个方向发展,则您将需要生成(或让某人发送)垃圾邮件报告,以显示您的邮件为何进入垃圾邮件文件夹。以下是我所谈论的垃圾邮件杀手的示例:
Content analysis details: (7.9 points, 6.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
3.2 FH_DATE_PAST_20XX The date is grossly in the future.
1.1 DNS_FROM_OPENWHOIS RBL: Envelope sender listed in bl.open-whois.org.
0.6 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines
1.6 HTML_IMAGE_ONLY_28 BODY: HTML: images with 2400-2800 bytes of words
0.0 HTML_MESSAGE BODY: HTML included in message
0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60%
[score: 0.5000]
1.5 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
一旦获得此信息,您就可以诊断问题。我怀疑这与您的 SPF 记录有任何关系,但很难肯定,即使它们在标题中列为“通过”。
祝你好运!
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)