note 18851 added to function.mail
| From: | lit at matches dot com | Date: | Thu, 07 Feb 2002 12:09:18 +0000 |
| Subject: | note 18851 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26342@lists.php.net to get a copy of this message | ||
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... not very efficient.
To send email using sockets, I suggest reading this:
http://cr.yp.to/smtp.html
and taking a look at the functions used here:
http://www.ima.pl/blizbor/smtp.phps
--
http://www.php.net/manual/en/function.mail.php
http://master.php.net/manage/user-notes.php?action=edit+18851
http://master.php.net/manage/user-notes.php?action=delete+18851
http://master.php.net/manage/user-notes.php?action=reject+18851