Hosting Knowledge PHP Mail Function: Not suitable for large number of mails
SocialTwist Tell-a-Friend
Advertisement

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


Rate This Article


  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
poorGreat

Add comment


  • Your name :
  • Email :
  • *Comment :
  • Word Verification

Web Hosting Directory

  • The web hosting directory is for anyone who is searching for website hosting and hosting related resources. The directory is listing Shared, VPS and Dadicated server plans in descending order for customer ratings !!! This web hosting directory is listing plans on the basis of 100% unbiased customer ratings. TheWebHostingDir.com provides you nice tool to easily search all types of web hosting plans including cheap web hosting, ASP.Net hosting, php mysql hosting, Cheap VPS Hosting, Windows VPS, HyperV VPS, Xen VPS and Cpanel VPS Hosting.



Quick search

Request a Quote

If you wish to receive proposals from Web Hosting Companies Suited to your needs.