Hello,
I would like to send an email in text/html format. I tried by this
way :
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.setType("text/html");
sendIntent.putExtra(Intent.EXTRA_TEXT,Constant.MAIL_BEGIN
+"<p2>"+"<br/>"+article.getAuthor()+"<br/>"+article.getDate()+"<br/
>"+article.getTitle()+"</p2>"+article.getContent()
+Constant.MAIL_END);
sendIntent.putExtra(Intent.EXTRA_SUBJECT, "LeFigaro.fr :
"+article.getTitle());
//sendIntent.setType("message/rfc822");
context.startActivity(Intent.createChooser(sendIntent,
"Title:"));
But HTML code isn't interpreted. Maybe Gmail app doesn't support
HTML ?
I'm interested for any suggestion to resolve this problem.
Thanks.
Matt.
--
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