Send Mail with HTML format

by DAVIDT » Sat, 27 Feb 2010 12:50:53 GMT

Sponsored Links
 Hi All

Is possible sent email with html format.

                    String[] mailto = { email };
            // Create a new Intent to send messages
            Intent sendIntent = new Intent(Intent.ACTION_SEND);
            // Add attributes to the intent
            sendIntent.putExtra(Intent.EXTRA_EMAIL, mailto);


            startActivity(Intent.createChooser(sendIntent, "Send mail ..."));

It no sent email in format html . some alternative


Other Threads

1. Blue screen when installing g1 drivers

Hello, I have a G1 phone, and I am having some troubles. I have
everything set up on my computer, and I can run apps on the emulator.
I wanted to start running the apps on my phone, so I downloaded the
drivers off of here,,
plugged in my phone, and pointed the windows driver installer to the
unzipped folder. It starts installing, and then a I get a blue screen


STOP 0x000000c2 (0x00000007 0x00000CD4 0x04030601 0xe10d4398)

And I've tried this multiple times, and I've re downloaded the
drivers. No luck, same error. Any tips or advice would be greatly
appreciated. I've started to learn java and thought the g1 would be a
great learning tool, thanks in advance.


2. Not getting expected socket errors

Normally in TCP socket programming, if the remote end closes the
connection, the local program is notified by a return value (in C) or
an exception (in Java).  But in Android, if I terminate the remote end
of a socket connection while transmitting data, no exception is
thrown, and no error reported.  Is this a bug, or is there something
about socket programming in Android I'm missing?

Here's some sample Android code to demonstrate.  If you run 

    $ netcat -l -p 1234

It will receive the "test" transmissions, but if you kill netcat, the
Android app keeps running without printing a stack trace, indicating
no exception has been thrown.

    Socket socket = null;
    OutputStream os = null;
    try {
        socket = new Socket("", 1234);
        os = socket.getOutputStream();
    } catch (UnknownHostException e) {  
    } catch (IOException e) {

    while (true) {
        try {
            Log.i("test", "test");
        } catch (IOException e) {

And a standard Java app.  If you kill netcat while this is running,
you'll receive the expected SocketException.

    public class SocketTest {
         private static Socket mSocket;
         private static OutputStream mOS;

         public static void main(String[] args) throws IOException {
             try {
                 mSocket = new Socket("", 1234);
                 mOS = mSocket.getOutputStream();
             } catch (UnknownHostException e) {
             while (true){


3. GTalk (XMPP) service, ADC, android market and wasted months

4. Market-Downloads: "Starting Download..."

5. Drawing many map overlays efficiently

6. Beginning

7. When an app issues an updated version, it gets on top of the Market's sort "by date" list