Answer by Lukehey for Android Sending mail to gmail using smtp
If you're using SSL, the correct port is 465. 587 is for TLShttps://support.google.com/mail/answer/13287?hl=enIf that's not the problem, try following this...
View ArticleAndroid Sending mail to gmail using smtp
Session session = null;ProgressDialog pdialog = null;Context context = null;EditText reciep, sub, msg;String rec, subject, textMessage;@Overrideprotected void onCreate(Bundle savedInstanceState) {...
View Article
More Pages to Explore .....