php mail()函数获取垃圾邮件 [英] php mail() function gets spam email

查看:133
本文介绍了php mail()函数获取垃圾邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在寻找问题的同时,我发送的所有电子邮件都是使用本地WAMP或服务器发送的,具有PHP mail()功能,我发现我们必须设置标头,如id,回复,返回路径,mime版本,char类型和字符集..我已经设置了所有这些,但是仍然将电子邮件发送到我的Gmail / Yahoo ID中的SPAM文件夹,任何线索?



我在/ to / replyto / return路径中使用的所有电子邮件地址都是真实存在的,但仍然是垃圾邮件,非常奇怪!

解决方案

仔细查看来自标记为可能的垃圾邮件的邮件中的SMTP标头。许多垃圾邮件过滤器将添加一些列出消息被标记的原因的行;例如,如果发送IP地址由于某种原因被列入黑名单,可能会有一个标题来描述您列出的黑名单。


All my emails I am sending in local WAMP or on server, with PHP mail() function, goes to SPAM folder always.

While looking for the issue, I found we've to set headers like from id, reply to, return path, mime version, char type and charset.. I have set all of them, but still email goes to SPAM folder into my Gmail / Yahoo id, any clue?

All email addresses, which I am using in from/to/replyto/return path existing in real and still it goes to SPAM, very strange !

解决方案

Take a close look at the SMTP headers from the messages that are getting flagged as possible spam. Many spam filters will add a few lines listing the reasons a message was flagged; for example, if the sending IP address is blacklisted for some reason, there might be a header describing which blacklists you're listed in.

这篇关于php mail()函数获取垃圾邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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