PHP sent Email Fast QUESTION?


#1

Hello,
I have created a PHP script that sent an email to the user in oreder to activate his account. But i have noticed that the mail need almost 6 minutes for the user to see it in his/her inbox. So my question is, is there anyway fixing that. I attached the email function that i used below.

function email($to, $subject, $body) {
mail($to, $subject, $body, ‘From: My email here’);
}

Thank you in advance.


#2

PHP sendmail is sent in batches, so it could take a few minutes to send. There is no way to get around this, sorry.


#3

You could use SMTP and your own email account etc?