how can I send a e-mail with the sender's address is my company's e-mail ???

[email protected] ("Bass?????v")
Newsgroups php.lang
Message-ID <[email protected]>
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("[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 '[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 ' [email protected] '??

THX A LOT
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.