PHP邮件功能(2) [英] PHP mail function (2)

查看:57
本文介绍了PHP邮件功能(2)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用php邮件功能从我的联系信息部分发送邮件.但是邮件没有收到我.如果我使用gmail id可以正常工作,但是如果我使用其他任何电子邮件ID(如 hr@sbnphpjobs.com )都无法获取.

Hi I am using php mail function to send mails from my contact section. But the mails are not geting me. If i use gmail id its working but if I use any other email ids like hr@sbnphpjobs.com not geting.

推荐答案

最好使用 PHPMailer Swift Mailer 与smtp服务器(例如gmail)结合使用.从php(mail())发送的邮件经常被许多spamfilters视为垃圾邮件...

It's better to use PHPMailer or Swift Mailer in combination with a smtp server (e.g. gmail). Mail send from php (mail()) is often seen as spam by a lot of spamfilters...

这篇关于PHP邮件功能(2)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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