Page 1 of 1

rather n00b mail question

Posted: Wed Mar 29, 2006 3:05 pm
by s.dot
On windows, do I have to download a mail server? Or should it just "work" using some magic built into PHP?

My INI settings:

Code: Select all

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = notify@localhost.com
Error Message:

Code: Select all

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:\Program Files\Apache Group\Apache2\htdocs\test.php on line 3

Posted: Wed Mar 29, 2006 3:12 pm
by feyd
yes, you'll need an smtp server running.