Can phpmailer capable of sending 10,000 email. Will you get timeout error or crash the server.
Modify the "max_execution_time" of the php config. Default is normally set to 30 seconds.
<?php ini_set('max_execution_time','300'); // run your code here ?>
Erm... take a look at this quote from the PHP manual page for the [man]mail[/man] function...
Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient. For the sending of large amounts of email, see the PEAR::Mail, and PEAR::Mail_Queue packages.
Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient.
For the sending of large amounts of email, see the PEAR::Mail, and PEAR::Mail_Queue packages.
I need advise for 10,000 newsletter. Should I use smtp function.
You'll have to: SMTP is the standard protocol for email. Search for "PHP SMTP class" and try one or another of the things you find.
If I may, what are you going to send .. ? 🙂
Can anyone advise me what mail function should i use to sent out 10,000 as I have created backend newsletter. I know use mail() is not a good idea. What PHP SMTP class should I use. Can anyone recommend.
Pls help.