Do you have anything for sendmail_path?
When I had both SMTP and sendmail_path are set, mail() always failed on
Linux/Apache/PHP.
It may be the same under windows.
Make sure SMTP host is up also.
(telnet your.mail.host 80)
Regards,
--
Yasuo Ohgaki
""Guillaume ARNAUD"" <[EMAIL PROTECTED]> wrote
Hi, I am a new user to PHP and Would like to use PHP to send mail.
I use the following script:
and I get
Warning: Unknown error in c:/easyphp/www/index3.php on line 7
Sorry, try again.
My php.ini file include:
[mail function]
SMTP=smtp.tele2.pl ;for win32 only
[EMAIL PROTECTED] ;for win32 on