does anyone how to solve this?
Posted: Fri Oct 28, 2011 8:34 pm
Hi, does anyone how to solve this? I have a contact form but when I try it form doesnt work. Please give me suggestion. thanks.
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:\xampp\htdocs\test_run\hrportal\LeaveApplication.php on line 58
Please Try Again Later. Thank You.
this is my php.ini mail setup.
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = jayson.lacson@da5.com.ph
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:\xampp\htdocs\test_run\hrportal\LeaveApplication.php on line 58
Please Try Again Later. Thank You.
this is my php.ini mail setup.
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = jayson.lacson@da5.com.ph