Is there a limitation when using the php mail function?

I am using php and mysql.

I am going to send 10k ++ (ten thousand plus) emails to update my subscribers, and I will send them for the first time. I will use the php mail function, basically this is what I will do:

First get the data from the database:

Select name, email FROM data

After that, using the while loop to send data:

while($r = mysql_fetch_assoc($exe)){
    ...
    if($mail){
        echo "success<br>";
    } else {
        echo "failed<br>";
    }
}
echo "Sent all";

I include an if .. else statement to ensure that each message is sent successfully. Is there anything I should care about? Am I having any problems sending 10K ++ PURCHASES to users?

Are there any number of letters you are about to send?

+5
source share
5 answers

:

. , mail() . SMTP- , .
. "PEAR:: Mail" "PEAR:: Mail_Queue".

+9

, PHP script. . max_execution_time, php.ini, 20 30 . , phpinfo(), .

, , . , , script .

, , php mail . , phpmimemessage , , , .

+4

/ , , - .

, 10k- ()

, , , - .

+2
0

All Articles