tags:

views:

113

answers:

2

Hai All, Can Anyone tell how to send email to a user from Android

+2  A: 

Check out the code at anddev.org for how to do it using intents.

Chris Thompson
Thanx Chris Thompson i posted the code that works fine for me
Tilsan The Fighter
+1  A: 
Intent sendIntent;

sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_SUBJECT,
"Test");
sendIntent.putExtra(Intent.EXTRA_TEXT,
"Hy Testing");
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"
+ file.getAbsolutePath()));
sendIntent.setType("image/jpeg");
startActivity(Intent.createChooser(sendIntent, "Send Mail"));
Tilsan The Fighter