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. DashBoard

Please suggest any tutorial for creation Dashboard in API 2.2

-- 

2. upgrade

Is there a function in the API of activity for instance that gets called when 
upgrading an application? Thanks

-- 

3. Combining gesture with ViewHolder

4. (WTB) htc incredible s or samsung nexus S

5. Why we Celebrate Earth Hour ?

6. USB Huawei E173

7. finishActivity() does not stop child activity