Could not connect to SMTP host: smtp.gmail.com, port: 465
I followed this thread to connect to gmail to send email without user intervention:
Sending Email in Android using JavaMail API without using the default/built-in app
I got my jars from: http://code.google.com/p/javamail-android/downloads开发者_C百科/list
I have checked my code over many times to insure compliance. I have checked my credentials over and over to insure they are correct. I keep getting the 'Could not connect to SMTP host: smtp.gmail.com, port: 465'
I am developing using Eclipse on Windows XP SP3. I am attempting to send from my Nexus One. Any ideas would be appreciated.
Add this line in the manifest: uses-permission android:name="android.permission.INTERNET"
Have you specified in your app that you're using an SSL
connection?
精彩评论