Re: mail() function on linux
| From: | Richard Lynch | Date: | Tue, 18 Jan 2005 16:54:41 +0000 |
| Subject: | Re: mail() function on linux | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206659@lists.php.net to get a copy of this message | ||
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