i am getting following error.
Warning: mail() [function.mail]: Failed to connect to mailserver at
"smtp.gmail.com " port 465, verify your "SMTP" and "smtp_port" setting
in php.ini or use ini_set() in D:\LUGUBA\root\ site\temp5.php on line 8
i have done the following
(1) in php.ini file
SMTP = smtp.gmail.com
smtp_port = 465
sendmail_from = kathlal.panjabi @gmail.com
(2)
i am sendig mail using mail() function and i am passing only defaulst
arguments to,subject,body
is it enough to send a mail or something is missing??
and do not i need to give password of my above email address
kathlal.panjabi @gmail.com
thxs for help in advance.......
Warning: mail() [function.mail]: Failed to connect to mailserver at
"smtp.gmail.com " port 465, verify your "SMTP" and "smtp_port" setting
in php.ini or use ini_set() in D:\LUGUBA\root\ site\temp5.php on line 8
i have done the following
(1) in php.ini file
SMTP = smtp.gmail.com
smtp_port = 465
sendmail_from = kathlal.panjabi @gmail.com
(2)
i am sendig mail using mail() function and i am passing only defaulst
arguments to,subject,body
is it enough to send a mail or something is missing??
and do not i need to give password of my above email address
kathlal.panjabi @gmail.com
thxs for help in advance.......
Comment