f



mail form not sending mail - server2003

Hi all,

I am trying to test a simple feedback form. I have php 5.0.3.3 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.

<?php
mail('me@whatever.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.

please help

TIA
Indrapoera




0
3/16/2005 6:00:29 AM
comp.lang.php 32646 articles. 0 followers. Post Follow

0 Replies
864 Views

Similar Articles

[PageSpeed] 43

Reply: