开发者

Could not connect to SMTP host: smtp.gmail.com, port: 465

开发者 https://www.devze.com 2023-01-21 04:03 出处:网络
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 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消