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

2039 Web Hosting Reviews A trusted source of genuine reviews. Learn Reviews
2451 Web Hosting Companies Ever-growing pool of web hosting providers. Browse Providers
2830 Web Hosting Coupons Exciting web hosting deals available here Browse Coupons
Share
Tweet
Share
Share
Share
Email