Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

[PHP] How to send e-mail using PHP with the sender's address is my company's e-mail ?? From: Bass¨Ð¦õªv (98350193j <email protected>)
Date: 03/30/01

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 <email protected>" , "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 <email protected>'

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 <email protected> '??

THX A LOT

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>