Saturday, June 13, 2009

I have to connect my application to the smtp mail server of google with PHP and send email?

I have used this code


ini_set("SMTP" , "smtp.gmail.com");


ini_set("smtp_port", "465");


mail('rakesh.ece.nri@localhost','hi','... how r u','from: tejaswi sharma%26lt;tej.nri@gmail.com%26gt;');








but if get hanged and not responding plz help me

I have to connect my application to the smtp mail server of google with PHP and send email?
You might check from the server hosting your application to see if it can get a response from the remote server via telnet on that port.


No comments:

Post a Comment