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:[EMAIL PROTECTED]]
> 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 PROTECTED]";
> 
> 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
> 
> 

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

Reply via email to