How to send html content in the Email body
- by Shalini Singh
Hi, i am using android code with html tag.. but in mail getting same html tag please help me how can i send html link ... the code is giving below
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
emailIntent.setType("text/html");
emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]
{"[EMAIL PROTECTED]"});
emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
"Subject");
emailIntent.putExtra(android.content.Intent.EXTRA_TEXT,
"Example");
context.startActivity(Intent.createChooser(emailIntent, "Send
mail..."));