note 42912 added to ref.mail

From: Date: Thu, 03 Jun 2004 11:57:46 +0000
Subject: note 42912 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-70805@lists.php.net to get a copy of this message
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! ---- Manual Page -- http://www.php.net/manual/en/ref.mail.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42912 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42912&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42912&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70805) next »