I am having trouble getting php script to send email. The msg I get is as follows:
An error occurred in script 'C:\wamp\www\register.php' on line 70: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
My php.ini file is as follows:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
I seem to be getting a telnet connection from the windows cmd prompt when I test port 25 that way.