Put quotes around the TO address: mail("[EMAIL PROTECTED]", "Subject", "Line 1\nLine 2\nLine 3");
-----Original Message----- From: Simos Varelakis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 12:07 PM To: [EMAIL PROTECTED] Subject: [PHP] Help !! Mail Function Problem (Newbie) Hello to everyone My problem is that Mail function sends no e-mail the code is mail([EMAIL PROTECTED], "Subject", "Line 1\nLine 2\nLine 3"); this is my /var/spool/mail/info log file thewall sendmail[4513]: g0H10I604513: from=apache, size=0, class=0, nrcpts=0, relay=apache@localhost this is the /etc/php.ini file [mail function] ;SMTP = localhost ;for win32 only ;sendmail_from = root@localhost ;for win32 only sendmail_path =/usr/sbin/sendmail -t Any Ideas ?? Thanks in advance Simos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]