What mail settings do you have in the php.ini ? ensure the win32 only ones are correctly specified (i assume you are win32 on this list!) SMTP = your.smtp.server sendmail_from = [EMAIL PROTECTED] siggy ----- Original Message ----- From: "Vlad" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 11, 2001 7:56 PM Subject: [PHP-WIN] mail() - Failed to connect > Hi All > why > mail($to, $subj, $message); > fails with warning Failed to connect at line ... > Thanks Vlad... > > > > -- > PHP Windows 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 Windows 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]