* Thus wrote Manuel Lemos ([EMAIL PROTECTED]):
> 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."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to