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

From: Date: Fri, 30 Mar 2001 20:58:16 +0000
Subject: How to send e-mail using PHP with the sender's address is my company's e-mail ??
Groups: php.general 
Request: Send a blank email to php-general+get-46384@lists.php.net to get a copy of this message
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

« previous php.general (#46384) next »