I am running Windows XP and just using it as a test computer for PHP. I am getting an error when running a script from my book:
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Apache\htdocs\feedback.php on line 12
here's a copy of my php.ini file from the [mail function] section:
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
sendmail_from = NULL
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
any help would be much appreciated 🙂