I'm having some trouble when I try to use PHP mail function on my Windows 2000 Pro.
I'm using the code listed below:
<?php
$toaddress = "faraco@centroin.com.br";
$subject = "Feedback";
$mailcontent = "testing...\n";
if (mail($toaddress, $subject, $mailcontent))
echo "Feedback Submitted";
else
echo "Error";
?>
In fact, no error occurs, the "Feedback Submitted" is shown but the email never arrives to my ISP mailbox.
My SMTP Virtual Server is running and appears to be ok because my mailer is configured to send emails through it (and they are been delivered properly!).
My php.ini file appears to be correctly configured as you can see:
[mail function]
; For Win32 only.
SMTP = localhost; for Win32 only
; For Win32 only.
sendmail_from = me@localhost; for Win32 only
Anyone can help me?