I am having a similar problem.
Here are the lines from php.ini:
[mail function]
; For Win32 only.
SMTP = smtp.earthlink.net
; For Win32 only.
sendmail_from = farley02@earthlink.net
I made a dummy script to test the mail() function:
<head>
<title><?php print $TITLE; ?></title>
</head>
<body>
<?php
$TITLE = "PHP Scripting";
?>
<p>
<?php
print phpinfo();
mail("farley02@earthlink.net", "Test Message from My Server", "Did you Get This?");
?>
</body>
When I load the page I see all of the PHPinfo followed by:
1
Warning: Failed to Connect in d:\my documents\my webs\homepage\phptest.php on line 13
Any thoughts?