Re: Re: creating a mailing list
| From: | Curt Zirzow | Date: | Sun, 02 May 2004 06:31:45 +0000 |
| Subject: | Re: Re: creating a mailing list | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185128@lists.php.net to get a copy of this message | ||
* Thus wrote Manuel Lemos (mlemos@acm.org):
> Hello,
>
> On 04/29/2004 06:44 AM, Chris O'Shea wrote:
>
> >Does anybody know the best way of doing a mass mail through php?
>
> mail() function is just fine in most cases.
imo, php should refuse mass mailing ;)
>
> >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.
>
> It depends on your environment. For an OS independent solution, you may
> want to try this class that lets you specify the bounce address using
> the Return-Path header. Keep in mind that just specifying the
> Return-Path address to the mail() function does not do anything. This
> class just does some magic to figure how to set the bounce address
> depending on your environment.
There is also the Errors-To: header that can be added, most smtp
server will honor that header, if not they will look at the
envelope address to send the errors to.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."