Hi,
After execution of following above code, it shows compose screen of
mms.apk application with blank fields.
However, my requirement is that my application should be able to send
email automatically with my supplied information.
Do I need to install any other email apk apart from mms.apk or am I
missing any thing?
Any help will be greatly appreciated.
=======
Intent msg=new Intent(Intent.ACTION_SEND);
String[] recipients={"[email protected]"};
String[] carbonCopies={"[email protected]"};
msg.putExtra(Intent.EXTRA_EMAIL, recipients);
msg.putExtra(Intent.EXTRA_CC, carbonCopies);
msg.putExtra(Intent.EXTRA_TEXT, "This is the email body");
msg.putExtra(Intent.EXTRA_SUBJECT, "This is the email
subject");
//msg.setType("message/rfc822");
//msg.setType("text/plain");
msg.setType("image/jpeg");
context.startActivity(Intent.createChooser(msg, "Send an
email..."));
========
Thanks and Regards,
Devendra
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---