Doesn't show the android email html format when receive outlook
- by saravanan palpandi
doesnt show the html format in outlook. please do reply me. sorry for the english
private void sendEmail() {
try {
String value = "" +
"" +
"Name " +
"anroid" +
"" +
"" +
"Version" +
"2.2" +
"" +
"";
Intent email_intent = new Intent(Intent.ACTION_SEND);
email_intent.setType("text/html");
email_intent.putExtra(Intent.EXTRA_SUBJECT, "android Details");
email_intent.putExtra(Intent.EXTRA_TEXT, Html.fromHtml(value));
email_intent.setType("vnd.android.cursor.dir/email");
startActivity(Intent.createChooser(email_intent,"Sending mail.."));
}catch(Exception e) {
}
}