You are here: Re: [PHP] mail() function on linux « PHP « IT news, forums, messages
Re: [PHP] mail() function on linux

Posted by Richard Lynch on 01/18/05 18:54

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация