You can always add a "From: [EMAIL PROTECTED]" 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:[EMAIL PROTECTED]]
> Sent: Friday, March 30, 2001 3:58 PM
> To: [EMAIL PROTECTED]
> 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("[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
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to