Check the errors first before post...Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port"
i know, i don't understand it... :/
It did not get any response from port 25 which is for SMTP usually. Basically, you need to edit the php.ini configurations and install an SMTP server. google, yo.
i looked up the smtp server thing and i did my email and shit but this is my php.ini idk if i set it right
;extension=php_smtp.dll
to
extension=php_smtp.dll
i used the tutorial on this website Transactional Email | SMTP Server and Transactional Emails API i didn't what it showed me to do[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
sendmail_from = gavlincross@hotmail.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = "C:\xampp\sendmail\sendmail.exe -t"
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =