How to send html mail using default mail in android?
<p>I am trying to send html mails using Intent.In the composer it shows in html format but in the recipient end, it shows as normal text.I have to send image and text with hyperlink.
The screen shot of the composer looks like this</p>

<p><img src="http://i.stack.imgur.com/1jFEK.png" alt="enter image description here"></p>

<p>Following is what I have tried so far,</p>

<pre><code>public class Sendingamail extends Activity {
    /** Called when the activity is first created. */
    Button send;

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    send=(Button) findViewById(R.id.emailsendbutton);
    send.setOnClickListener(new OnClickListener() {

                    @Override
                    public void onClick(View v) {
                            // TODO Auto-generated method stub

                                  final Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
                                  emailIntent.setType("text/html");
                             String html = "&lt;!DOCTYPE html&gt;&lt;html&gt;&lt;body&gt;&lt;a href=\"http://www.google.com\"&gt;Visit W3Schools.com!&lt;/a&gt;" + "&lt;p&gt;If you set the target attribute to \"_blank\", the link will open in a new browser window/tab.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;";
                                  emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Hhhhhhhh");

emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, Html.fromHtml(html));

 Sendingamail.this.startActivity(emailIntent);

                                  });
}
}
</code></pre>
