I am trying to test a simple feedback form. I have php 126.96.36.199 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('email@example.com', '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.