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. Bantuin Wired tether

Master august sekalian,
Ada Yang dah jalanin wired tether lum? Saya dah coba di spica tapi muncul
tulisan kernel tidak disupport,
Mohon bantuannya

-- 
"Indonesian Android Community [id-android]" 

2. Geocoding

Hi

I have two points defined by their coordinates. I'm trying to get the
distance between this points taking in consideration the route (streets).

I did this (Java, it's not javascript) by using webview just like this:
http://dpaste.com/197245/

It worked and I got the duration. The problem is: I need to use the returned
value , i.e. directions.getDuration().html, for my Java code.

Have you guys ever had this problem? Is there a way to do this just using
Java code (without webview, I mean).?

Thanks
Victor Pantoja

-- 

3. Avoid restarting background threads on orientation change

4. javascript on android

5. Android Market Developer Console Bugs feature

6. live blogging froy

7. OOT : Mimpi di siang hari