PHP Mail Function: Not suitable for large number of mails
The mail()function in PHP 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.
As an alternative, we can use PEAR Mail for sending large mails. Please read the documentation here:
http://pear.php.net/package/Mail
http://pear.php.net/package/Mail_Queue
Comments & Discussion (0)
No comments yet. Be the first to share your thoughts!
Leave a Comment
Sign in to join the conversation
Please log in or create a free account to post comments, ask questions, and engage with the web hosting community.