same issue here...

On 23 juil, 15:29, Rmac <ry...@me.com> wrote:
> Hello,
>
> I have been unable to send anemailvia an Intent where theemail
> contains HTML in the body.  Theemailis created, but the HTML in the
> body shows as plain text instead of being rendered as HTML.  I have
> found similar posts where others have encountered the same problem,
> but so far no one has provided a solution.
>
> Here is a snippet of code to demonstrate:
>
> Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
> emailIntent.setType("text/html");
> emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]
> {"t...@email.com"});
> emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
> "Subject");
> emailIntent.putExtra(android.content.Intent.EXTRA_TEXT,
> "<html><body>Example</body></html>");
> context.startActivity(Intent.createChooser(emailIntent, "Send
> mail..."));
>
> Viewing theemailafter it is sent shows the body with HTML markup
> tags instead of just "Example".  I'd sure appreciate any help in
> resolving this issue.  Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to