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','hi how r u','from: tejaswi sharma<tej.nri@gmail.com>'); but if get hanged and not responding plz help me
Public Comments
- 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.
Powered by Yahoo! Answers