Re: how to stop mail() errors going to postmaster@etc...?
From: Mike (mikekelly100_at_hotmail.com)
Date: 10/15/03
- Next message: Useko Netsumi: "Thank you all..."
- Previous message: R. Rajesh Jeba Anbiah: "Re: Newbie question ..."
- In reply to: Mike: "Re: how to stop mail() errors going to postmaster@etc...?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Oct 2003 05:12:25 -0700
mikekelly100@hotmail.com (Mike) wrote in message news:<3de80bff.0310030402.4f21b49b@posting.google.com>...
> Pedro <hexkid@hotpop.com> wrote in message news:<blhgne$bn2f5$1@ID-203069.news.uni-berlin.de>...
> > Mike wrote:
> > > Neither did adding these values to the header:
> > >
> > > $headers .= "Errors-To: m.f.kelly@mikesaddress.uk\r\n";
> > > $headers .= "Return-Path: m.f.kelly@mikesaddress.uk\r\n";
> > >
> > > Any other suggestions?
> >
> > What about using all that and the fifth parameter to the mail function?
> >
> > <?php
> > mail($to, $sbj, $msg, $xhdr, '-f m.f.kelly@mikesaddress.uk');
> > ?>
> >
> > if your server uses sendmail (or a compatible daemon).
>
> Thanks Pedro,
> That seems to have done the trick.
> Cheers,
> Mike
Actually, it seems to just copy the error messages to
m.f.kelly@mikesaddress.uk, while still sending an error message to the
Postmaster address. :(
Is there a way to stop the Postmaster getting these messages?
Thanks,
Mike
- Next message: Useko Netsumi: "Thank you all..."
- Previous message: R. Rajesh Jeba Anbiah: "Re: Newbie question ..."
- In reply to: Mike: "Re: how to stop mail() errors going to postmaster@etc...?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|