RE: [PHP] How to send e-mail using PHP with the sender's address is my company's e-mail ??

From: Date: Fri, 30 Mar 2001 21:12:55 +0000
Subject: RE: [PHP] How to send e-mail using PHP with the sender's address is my company's e-mail ??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46387@lists.php.net to get a copy of this message
You can always add a "From: yourname@yourdomain.com" to the fourth field which includes additional email headers. However, the real solution is for your provider to fix their setup to change the address to a proper one as the mail moves through and leaves their system. John > -----Original Message----- > From: Bass¨Ð¦õªv [mailto:98350193j@polyu.edu.hk] > Sent: Friday, March 30, 2001 3:58 PM > To: php-general@lists.php.net > Subject: [PHP] How to send e-mail using PHP with the sender's address is > my company's e-mail ?? > > > Hi , > > My copmany have a website and is hosted on a web server of some > web hosting > company . > I want to use PHP to send e-mail on that server . > I use > > $result = mail("abc@foo.com" , "E-mail Test" , "this e-mail is > sent by php") > ; > > to do it . > > But when I receive the e-mail , the SENDER 's address is the > server's domain > name ! > such as 'anonmyous@hostingserver.com' > > It's a large problem if I send a e-mail to my clients with this cos they > won't know > who send the e-mail !! > > how can I send a e-mail with the sender's address is my company's > e-mail ??? > for exmaple ' mycompany@company.com '?? > > THX A LOT > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#46387) next »