How to send html content in the Email body
Posted
by Shalini Singh
on Stack Overflow
See other posts from Stack Overflow
or by Shalini Singh
Published on 2010-05-13T10:11:23Z
Indexed on
2010/05/13
10:14 UTC
Read the original article
Hit count: 266
android
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..."));
© Stack Overflow or respective owner