Thanks for this gread thread CrazeD,
I do not host sites on my own server, but I develop sites within my localhost (saves a lot of upload time) so this thread was a great help setting stuff up
MY QUESTION:
I'm creating a form in php which should email its gathered information however I'm getting this error:
Code:
Warning: 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() in C:\WEB\APACHE\htdocs\WWW\training\6a.php on line 72
How would I setup the required "smtp_port" in the "php.ini" so that I can have my 'development code' send emails via my localhost?
I would assume its something special because this is what my php.ini file already contains:
Code:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = me@example.com,
so I dont get what the problem is -.-*