PHP mail() function sends the email but it takes more than 10 mins to show up

霸气de小男生 提交于 2019-12-04 13:48:28

I had this issue with GoDaddy shared hosting, using their SMTP server. It was because the SMTP server was a shared, open relay, and with the volume of messages passing through it - there is a delay of roughly 10 minutes as well.

Are you on shared hosting/GoDaddy? What SMTP relay are you using?

EDIT: After researching this thoroughly very recently, I have found that there is no way to deliever a high quality of SMTP service (i.e. < 10 minutes for an email) to my audience on GoDaddy shared hosting. This is incredibly frustrating. Looks like the options are to buy dedicated hosting from GoDaddy (~$300/year), or to switch providers.

On top of everything else, the receiving end may be using greylisting, which basically bounces an email on the first delivery attempt, on the theory that spam sources won't bother retrying, while a legitimate server WILL re-try after a few minutes.

most likely it is your server, perhaps you have a anti-spam program or anti-virus program? If you are on a shared environment there may be a que.

I'll guess you're using some shared hosting which probably is using some q system and therefor the delay... If your really picky about getting your mail delivered at once i would recommend dedicated hosting

Try this service guys...awesome API integration. www.postmarkapp.com After lot of searching I integrated my Android App Account Activation email service to Postmark and works like a breeze. Mails started getting sent to users instantly and the latency was reduced from stupid Godaddy's 10 mins or more to within a minute. I highly recommend it.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!