I understand that speeding up the PHP side of things is not really possible. I am running Parallels Plesk on Linux with APACHE. At the moment the wait time can be up to 40 minutes. I am using
mail($to, $subject, $body, $headers, -odb)
I mean the time it take for the email to appear in the users inbox after the script sending the email.
Any help or suggestions would be much appreciated.
The
mail()function actually has absolutely NOTHING to do with delivery of email. All it does is hand your email over to the server’s own SMTP server. Basically it’s the equivalent of dropping your letter in the mail box.After that, it’s up to the postal service (the various SMTP servers, spam filters, antivirus scanners, the ‘Net in general, etc..) to do the actual delivery, and you have basically no control whatsoever over that. All you can choose is which mailbox to drop the letter into.