Re: mail() function on linux

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

 






Nicolae Serban wrote:
> I have this code to send an e-mail !!!
>
> $ok=mail($dest, $subject, $mesaj,
>              "From: $expe\r\n"
>               ."Reply-To: $expe\r\n"
>               ."X-Mailer: PHP/" . phpversion());
>
> It works on windows, i must change something to work on linux ????

No, but the Linux server's php.ini file has to set up a valid sendmail
setting which the PHP user can actually run and successfully send email...

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
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