避免帐户确认电子邮件的垃圾邮件过滤器 [英] Avoiding Spam Filters for account confirmation emails

查看:37
本文介绍了避免帐户确认电子邮件的垃圾邮件过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用 PHP/Symfony 构建的应用程序.其中一部分需要向用户发送本质上是帐户验证电子邮件的内容.不幸的是,我的电子邮件似乎触发了垃圾邮件过滤器(gmail、hotmail,可能还有其他)并且没有进入用户的收件箱.

I have an application built in PHP/Symfony. Part of it requires sending what is essentially an account verification email to users. Unfortunately, it seems that my email is triggering spam filters (gmail, hotmail, probably others) and not making it to the users inboxes.

我可以使用哪些策略来避免被过滤?

What strategies can I use to avoid being filtered?

推荐答案

与其从网站运行的服务器发送邮件,不如使用受信任的外部邮件服务器.你可以用 Swift_SmtpTransport 做到这一点.

Rather than sending mail from the server where your website runs, it's better to use trusted external mail server. You can do that with Swift_SmtpTransport.

您甚至可以为此目的使用您的 Gmail 帐户:http://www.symfony-project.org/more-with-symfony/1_4/en/04-Emails#chapter_04_sub_sending_emails_via_gmail

You can even use your gmail account for that purpose: http://www.symfony-project.org/more-with-symfony/1_4/en/04-Emails#chapter_04_sub_sending_emails_via_gmail

这篇关于避免帐户确认电子邮件的垃圾邮件过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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