Re: anonymous from address using mail()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 7 Oct 2004 20:29:25 +0530, sagar <sagar@xxxxxxxxxxxxxxx> wrote:
> I'm using mail("nsagarchand@xxxxxxxxx",$subject,$message,$mail_from);
> 
> But i get an email with a from address as anonymous@<myserver.com>
> 
> I want to show the from address to be like "From : Sagar"
> plzz help me out

What is $mail_from defined as?

It should be a "From: " header with the required \r\n at the end.


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux