Hi,
you can use the following code to send the email from your application
String myemail[]={email_id_1,email_id,2};
Intent emailIntent = new
Intent(android.content.Intent.ACTION_SEND);
emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL,myemail);
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
"Feedback");
emailIntent.putExtra(android.content.Intent.EXTRA_TEXT,"");
emailIntent.setType("plain/text");
startActivity(emailIntent);
Note: Make sure your are logged in device email client and add necessary
permissions.
Regards
Vinay Kumar
On Tue, Sep 25, 2012 at 12:23 PM, Ibrahim Sada <[email protected]>wrote:
> Hi ..
> Can any1 help me out how to send email from code..
> Thanks in advance..
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" 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-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en