[thelist] php mail problem... someone please shoot me!

Pablo Oliva poliva at cox.net
Sun Sep 8 20:16:01 CDT 2002


Here is my error:
Warning: Failed to Connect in
c:\apache\htdocs\jotr\scripts\processcompsignup.php on line 43 NOT Sent

Here are my php.ini directives:
SMTP = localhost
sendmail_from = poliva at cox.net

I am running PostCast Server, an SMTP server, on a winXP machine.
Here is my code:
$to = 'poliva at cox.net';
$subject = 'Jobs on the Road email verification';
$message = 'test';
if ( mail( $to, $subject, $message ) )
{
print 'Sent';
}
else
{
print 'NOT Sent';
}

As you can see, very straight forward, but it doesn't work. I know that
it is not a problem with PostCast because I sent an email out via my
email client using my local SMTP server. Does anyone have any ideas? I
have tried just about everything.




More information about the thelist mailing list