PHP Mail Function: Not suitable for large number of mails

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

Add comment Share
Hosting Companies insights
1301 Web Hosting Reviews A trusted source of genuine reviews. Learn Reviews
2579 Web Hosting Companies Ever-growing pool of web hosting providers. Browse Providers
2066 Web Hosting Coupons Exciting web hosting deals available here Browse Coupons