Hi All
Is possible sent email with html format.
String[] mailto = { email };
// Create a new Intent to send messages
Intent sendIntent = new Intent(Intent.ACTION_SEND);
// Add attributes to the intent
sendIntent.putExtra(Intent.EXTRA_EMAIL, mailto);
sendIntent.putExtra(Intent.EXTRA_SUBJECT,subject);
sendIntent.putExtra(Intent.EXTRA_TEXT,body);
//sendIntent.setType("text/plain");
//sendIntent.setType("message/rfc822");
sendIntent.setType("text/html");
startActivity(Intent.createChooser(sendIntent, "Send mail ..."));
finish();
It no sent email in format html . some alternative
--
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