creating a mailing list
| From: | chris o'shea | Date: | Thu, 29 Apr 2004 09:44:23 +0000 |
| Subject: | creating a mailing list | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-184933@lists.php.net to get a copy of this message | ||
Hi
I have a list of email addresses in mySQL from people who have signed up on
my site and I want to use PHP to email out to the list.
My initial thought was to go through the loop, sending an email to each
person, but then I saw this somewhere:
"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."
Does anybody know the best way of doing a mass mail through php?
Also, do you know how php mail() handles bounced emails? Ideally I'd like to
either receive them or use a script to record then.
Many thanks
Chris