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);
            sendIntent.putExtra(Intent.EXTRA_SUBJECT,subject);
            sendIntent.putExtra(Intent.EXTRA_TEXT,body);

            //sendIntent.setType("text/plain");
            //sendIntent.setType("message/rfc822");
            sendIntent.setType("text/html");

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

It no sent email in format html . some alternative

--



Other Threads

1. Best Practice for overriding both Theme and Theme.Dialog correctly in an app?

Surely there is a good solution for this.  Anyone?



--~--~---------~--~----~------------~-------~--~----~

2. high score table

I'm lost, I am trying to make a high score table that shows the
highest 10 scores in a game?
so i was thinking of adding an activity (for that) in my game. once
the player loses, the activity is called and it asks for his name
after showing his score. after that a high score table pops up showing
the highest 10 scores.
any ideas on where to start? I'm lost.
any example or tutorial is appreciated.
thank you


--~--~---------~--~----~------------~-------~--~----~

3. Question about the annoyingly short screen time-out during a call...

4. GPS still not working on emulator with r3

5. CacheManager Example

6. Get file name from Uri

7. Loading an image from remote server