Hello, when i use the mail function within my script i always get this error.
(Warning: mail(): Failed to connect to mailserver at "ssl://smtp.gmail.com" port 465, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set())
I have used ssl://smtp.gmail.com and that with out the ssl in the php.ini file but it keeps giving me the same error. does this function work on a development server?
Any help will be greatly appreciated. Thank you.
(Warning: mail(): Failed to connect to mailserver at "ssl://smtp.gmail.com" port 465, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set())
I have used ssl://smtp.gmail.com and that with out the ssl in the php.ini file but it keeps giving me the same error. does this function work on a development server?
Any help will be greatly appreciated. Thank you.