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. ROM SenseHero Magic32a

Guys
Ada yg punya link-nya gak, cari2 kog gak ada ya

Tapi  utk Magic32a

Radio 2.22.19.261

HBOOT 1.33.0006 -- SPL

thx


--
Jus*
~ send using pc jangkrik krik krik ~

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

2. Small screen devices cannot see my app even declared already in the manifest

Hello everyone,

 I have this problem regarding HTC Tatoo. I cannot see the app in the market 
using this phone but other phones can.

 I have already declared inside my manifest file that it is compatible and 
could run in this small device but still cannot see. Below is a snippet of my 
manifest file.

 <application
 ....
 </application>
 <uses-sdk android:minSdkVersion="3" />
 <supports-screens android:smallScreens="true" android:anyDensity="true"/>
 ....

Hoping for your great help.

Regards,

Brian



      

-- 

3. The application Settings(process com.android.settintgs) has stopped unexpectedly.while running bluetooth chat given sample appln

4. Masalah reply SMS

5. Ask Ganti ROM

6. Ada Yang Tau Cara Setting Yahoo Account pada "MAIL" nya HTC MAGIC ga?Sama Mau tanya Paket Data IM3

7. Please improve the soft keypad and add a password check box.