mail form not sending mail - server2003

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Hi all,

I am trying to test a simple feedback form. I have php on my dev
Windows server 2003. SMTP is working fine, as we all use it to send mail
from. PHP works fine as well, but I just cant get mail sent by php, although
no errors are reported.

Do I understand it correctly that this simple script should send me a mail?
This is just to test that it works.

mail('', 'My Subject', 'message');
header( "Location: http://webserver/message_sent.htm" );

Okay, the " Location: http://webserver/message_sent.htm" comes up fine, and
"<?php phpinfo() ?>" also works fine. SMTP allows relay from my subnet and
does not need authentication.

please help


Site Timeline