Wordpress通知电子邮件发送到垃圾邮件 [英] Wordpress notification emails going to spam

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

问题描述

我如何防止Worpress通知电子邮件去收件人的垃圾邮件文件夹?

How can I prevent Worpress notification e-mails from going to recipients' spam folders?

我已经在三个不同的环境中设置了一个网站及其博客,遵循(我使用mydomain.com而不是实际网站的域名为保密原因)。

I have set up a site along with its blog in three different environments as follows (I'm using "mydomain.com" instead of the actual site's domain for confidentiality reasons).


  1. 我的机器上的local.mydomain.com blog.local.mydomain.com

  2. dev.mydomain.com blog.dev.mydomain.com 在我的开发者服务器上

  3. mydomain.com blog.mydomain.com 在生产服务器上

  1. local.mydomain.com and blog.local.mydomain.com on my machine
  2. dev.mydomain.com and blog.dev.mydomain.com on my dev server
  3. mydomain.com and blog.mydomain.com on production server

当我在1和2(本地和开发)中创建用户时,通知电子邮件将转到新创建的用户的收件箱。但是,当我在生产中一样,他们直接进入垃圾邮件文件夹。

When I create users in 1 and 2 (local and dev), notification e-mails go to the inboxes of the newly created users. But when I do the same in production, they go straight to the spam folders.

现在,默认情况下Wordpress通知从 wordpress @ yourblogsdomain发送.com ,所以在我的情况下,这些是由 wordpress@blog.mydomain.com wordpress @ blog发送的。 dev.mydomain.com wordpress@blog.local.mydomain.com 。所以我安装了邮件从插件更改默认地址,现在所有三个服务器正在从 hello@mydomain.com 发送消息,这是一个现有的和工作的地址。

Now, by default Wordpress notifications are sent from wordpress@yourblogsdomain.com, so in my case, these were sent by wordpress@blog.mydomain.com, wordpress@blog.dev.mydomain.com and wordpress@blog.local.mydomain.com. So I installed the Mail From Plugin to change the default address, and now all three servers are sending the messages from hello@mydomain.com, which is an existing and working address.

mydomain.com电子邮件由Google帐户管理,这是正常的,即从@ mydomain.com帐户发送的邮件作为非垃圾邮件收到。这包括 hello@mydomain.com 地址。

mydomain.com e-mails are managed by Google Accounts, that's working fine, ie, messages sent from @mydomain.com accounts are received as not-spam messages. That's including that hello@mydomain.com address.

所有这一切让我觉得可能会有问题服务器是托管我的生产站点,但我不知道从哪里开始寻找。

All this leaves me thinking there might be something wrong with the server that's hosting my production site, but I have no idea where to start looking.

想法?

推荐答案

我通常在服务器级别处理通过确保wordpress发送的所有电子邮件都是通过我自己的SMTP服务器发送的。你可以这样做几种方法。我的首选是配置从我的服务器发送的所有邮件使用SMTP。我通常使用Ubuntu服务器 - 这里是使用PostFix SMTP的链接 https://help.ubuntu.com/community/Postfix。另一种方法是使用其中一个SMTP插件,并配置使用您的电子邮件服务器。我以前使用过这个 - http://wordpress.org/extend/plugins/wp-mail-smtp/screenshots/

I usually handle this on the server level by ensuring all emails sent by wordpress are sent via my own SMTP server. You can do this a couple ways. My preference is to configure all mail being sent from my server to use SMTP. I usually use an Ubuntu server - here is a link to using PostFix SMTP https://help.ubuntu.com/community/Postfix. Another way would be to use one of the SMTP plugins and configure to use your email server.I have used this one in the past - http://wordpress.org/extend/plugins/wp-mail-smtp/screenshots/.

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

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