Hello I am just curious about. From Message Inbox/Outbox. we can retrieve :phone number,message body,date,locked status,StatusOnSim etc. So Can we retrieve from email (sent+inbox):Email_id,Subject,Body,CC,BCC etc. I want to retrive all this thing from my email like Email_id,Subject,Body,CC,BCC etc
if any one have idea regarding this than please help me on it.
Code to send email information:
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_EMAIL, new String[] {
"ur mail id" });
intent.putExtra(Intent.EXTRA_SUBJECT, "ur subject");
intent.putExtra(Intent.EXTRA_TEXT, "ur text");
intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(FileName));
startActivity(Intent.createChooser(intent, "Choose"));
it cant retrieve data like Email_id,Subject,Body,CC,BCC etc from ur mail box. But it possible in Message inbox.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With