RE: [PHP] php mail()
| From: | Brad Dameron | Date: | Mon, 14 Oct 2002 19:58:29 +0000 |
| Subject: | RE: [PHP] php mail() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119938@lists.php.net to get a copy of this message | ||
This is being done. And no that is not how sendmail works unfortunately.
---
Brad Dameron Network Account Executive
TSCNet Inc. www.tscnet.com
Silverdale, WA. 1-888-8TSCNET
> -----Original Message-----
> From: John W. Holmes [mailto:holmes072000@charter.net]
> Sent: Monday, October 14, 2002 12:47 PM
> To: 'Brad Dameron'; 'PHP'
> Subject: RE: [PHP] php mail()
>
>
> > Hey do you guys know how to correct this problem with sending email?
> >
> > A custumer uses mail() to send the email and it isn't deliverable. So
> the
> > message bounces. But since the local sendmail sent the email it thus
> > bounces
> > to root's mailbox instead of say the replyto address. Anyone know how
> to
> > correct it so that it sends the bounces to the person sending it? This
> is
> > on
> > a virtual host machine with hundreds of domains.
>
> The users probably need to set a FROM header in their mail
>
> $header = "FROM: email@domain.com";
>
> mail($to,$subject,$body,$header);
>
> Then the bounce should go to that address.
>
> ---John Holmes...
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>