: Email delays issues in VPS server on GoDaddy Server We're working on a web service, and our registration confirmation emails are constantly delayed almost 5-10 mins on GoDaddy's servers. We've
We're working on a web service, and our registration confirmation emails are constantly delayed almost 5-10 mins on GoDaddy's servers.
We've tried PHP's mail() function and also the PHPMailer SMTP library, but are experiencing delays with both.
We want to receive emails immediately. Can anyone guide us?
More posts by @Sims2060225
2 Comments
Sorted by latest first Latest Oldest Best
We've tried PHP's mail() function and also the PHPMailer SMTP library, but are experiencing delays with both.
We're working on a web service, and our registration confirmation emails are constantly delayed almost 5-10 mins on GoDaddy's servers.
First, determine if any of the third-party software is the culprit. Maybe your PHP script runs slowly to the point where it takes 5 minutes before the mail() function completes.
Try sending mail a couple of times using the most basic fully functional email client on the server and see how long it takes. If the time is roughly 5 minutes each time, then you may need to restart or reconfigure the email processing software (exim?) on the server. I found that when I run into this situation, and reconfigured the mail server (so no errors exist or appeared in the logs), the mail was being processed quickly again.
We want to receive emails immediately.
Depending on how far the email travels, I'd suggest waiting at least 1 to 2 seconds each time your server sends mail to a client before claiming that it is sent.
Unfortunately e-mail delays and other issues like this are common with GoDaddy - and as far as I'm aware, using an SMTP library to an external SMTP server won't work at all as GoDaddy will block it.
The best you can do is contact GoDaddy support and ask if there is a problem on the server you are on, but I'd hazard a guess that there's not going to be much resolution you can get from that.
I'm sorry it's not what you want to hear, but unfortunately in the end, the only thing you can really do is change hosts. A 5 - 10 minute delay on e-mails is excellent compared to the e-mails problems that do often occur with GoDaddy.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.