tags:

views:

286

answers:

2

Is there any way to get in the code:

Email id Password SMTP host SMTP port

which the user used to setup his Email account with the Android built in Email application

Required because, I am written a MailSender class using JavaMail API there I need to send the mail using the details what user configured in Built in Android Email application.

+2  A: 

No, that's not accessible by other apps.

Cytown
hi, I am also facing same problem atleast can i open the respective compose page of Email application? it would be great.Thanks in advance.
Sam97305421562
A: 

I've tried using a valid gmail account and password, and it seems to work. check http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-android-app/2208335#2208335

john brohan