note 42912 deleted from ref.mail by vincent

From: Date: Wed, 09 Jun 2004 12:11:44 +0000
Subject: note 42912 deleted from ref.mail by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-70555@lists.php.net to get a copy of this message
Note Submitter: pharao ramses ---- I just setup a new server (RHEL 3.0) as a webserver for 2 domains (domain1.com and domain2.com). When I try to send an e-mail via php, the e-mail-address in the "From:"-field always gets the form name@domain1.com - but I would like to have it as name@domain2.com! Any idea what could be the problem? masquerading is off - why does sendmail change the domains? Thanks for your help!

« previous php.notes (#70555) next »