Re: creating a mailing list
| From: | Vinod Panicker | Date: | Thu, 29 Apr 2004 10:19:41 +0000 |
| Subject: | Re: creating a mailing list | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184935@lists.php.net to get a copy of this message | ||
Chris,
Mass mailing is ideally done using mailing lists - in this case i
assume that you would want to frequently send updates to the ppl who
have signed up.
majordomo/listserv etc can be used to implement mailing lists...
as you rightly said, using the mail() function would be pretty inefficient.
php mail() doesnt know about bounced emails simply because it doesnt
reach it. there's no callback that allows you to register for bounced
emails. the email is received by your smtp server and is redirected
to the appropriate account (depending on the configuration)
Regards,
Vinod.
On Thu, 29 Apr 2004 10:44:23 +0100, chris o'shea <chris@pixelsumo.com> wrote:
>
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>