Outlook将电子邮件标记为垃圾电子邮件 [英] Outlook Marking Email as Junk Email

查看:547
本文介绍了Outlook将电子邮件标记为垃圾电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道.我听起来像垃圾邮件发送者,但对于在我们开发的此网站上注册了帐户的用户,这些电子邮件是完全合法的电子邮件确认.这些电子邮件都可以通过各种邮件提供商(gmail,yahoo,aol,hotmail/live)到达,但是它们始终被定向到Outlook垃圾邮件文件夹中.我已经尝试过使用Zend Framework邮件,PEAR邮件和phpMailer.所有这些方法都会导致同一件事的发生.

I know. I sound like a spammer but these emails are completely legitimate email confirmations for people that have signed up for an account on this website we developed. These emails all make it through to various mail providers (gmail, yahoo, aol, hotmail/live) but they always get directed into the Outlook Junk Email folder. I am have tried using Zend Framework mail, PEAR Mail and phpMailer. All of those methods result in the same thing happening.

这似乎是在微软于今年1月发布对Outlook垃圾邮件筛选器的更新之后开始的.

This seemed to start happening after Microsoft released their update to the Outlook Junk Email filter in January of this year.

以下是有问题的代码:

include_once('Mail.php');
include_once('Mail/mime.php');
$hdrs = array(
 'From'    => "Membership <membership@example.com>",
 'Subject' => 'Test Email',
 'Reply-To'=> "membership@example.com",
 'Message-ID'=> "<" . str_pad(rand(0,12345678),8,'0',STR_PAD_LEFT) . "@mail.example.com>",
 'Date'=> date("D, j M Y H:i:s O",time()),
 'To'=> 'test@example.com'
         );
$params = array('host'=>'mail.example.com','auth'=>false,'localhost' => 'www.example.com','debug'=>false);
$crlf = "\n";
$mime = new Mail_mime($crlf);

$mime->setTXTBody("TEST");
$mime->setHTMLBody("<html>\n<body>\nTest\n</body>\n</html>");

$body = $mime->get();
$hdrs = $mime->headers($hdrs);

$mail =& Mail::factory('smtp',$params);

$t=$mail->send('test@example.com', $hdrs, $body);

如您所见,在此测试中我们正在使用PEAR Mail功能.这是我们可以运行的最基本的测试,上面生成的电子邮件被转储到Outlook Junk Email文件夹中.我们在邮件服务器上具有反向DNS,并且它与正向DNS相匹配,因此设置了SPF和DKIM,并且上面的内容没有任何垃圾邮件".有人可以看到带有上述代码的内容,可能导致Outlook将其标记为垃圾邮件吗?谢谢!

As you can see we are using the PEAR Mail functionality in this test. This is the most basic test we could run and the above generated email gets dumped into the Outlook Junk Email folder. We have reverse DNS on the mail server and it matches the forward DNS, SPF and DKIM are set up and there is nothing "spammy" with the above content. Can anybody see something with the above code that could cause Outlook to mark it as Junk? Thanks!

推荐答案

您的传递速度与您的软件无关,而与您的域和IP在收件人的邮件主机中的信誉有很大关系.拥有SPF和DKIM当然会帮助解决问题(并随着时间的流逝而建立声誉),但是如果从您的域/IP发送的电子邮件确实或确实被垃圾分类为用户(或者您做了其他对提供商来说似乎很糟糕的事情)例如每单位时间向其域发送太多电子邮件),那么您在这方面的任何努力都无法克服.

Your delivery rate has little to do with your software and a lot to do with the reputation your domain and IP has with the recipient's mail hosts. Having SPF and DKIM in place will certainly help matters (and will help build reputation over time), but if emails sent from your domain/IP did or do get classified as users by junk (or you do other things that seem fishy to the providers like sending too many emails to their domain per unit time), no amount of effort on your end can overcome that.

根据我的经验,与深奥地了解您的电子邮件标题或正文相比,这些因素更容易触发垃圾邮件.现在,如果您的电子邮件中包含某些受欢迎的关键字,那又是另一回事了:-)

In my experience, those factors are far more likely to trigger a junk mail designation than something esoteric about your email headers or body. Now if you have certain popular keywords in your email that's another matter :-)

大多数主要提供商都提供条件不同的白名单计划.您可以通过Google来找到有关它们的信息.

Most of the major providers offer white list programs with varying conditions. You can find out about them via Google.

这篇关于Outlook将电子邮件标记为垃圾电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆