Do you know how inserti HTML code in the body?

I would like users see that HTML body interpreted by the email client,
it's possible?


On 30 Nov 2010, 12:31, Kostya Vasilyev <[email protected]> wrote:
> If the message is sent but not received, something is wrong somewhere
> along the way (not in the intent).
>
> What happens if you send the message yourself, from the same email
> program / address, to the same address?
>
> -- Kostya
>
> 30.11.2010 14:17, pedr0 пишет:
>
>
>
>
>
>
>
>
>
> > I am sorry, yes it's works, it show me a email client, but when I
> > click to "send" button it say me that the email is sended, but the
> > email account configured doesn't receive an email!
>
> > What's wrong?
>
> > On 30 Nov, 11:58, pedr0<[email protected]>  wrote:
> >> Thanks, it works!
>
> >> On 30 Nov, 11:42, Kostya Vasilyev<[email protected]>  wrote:
>
> >>> You can't.
> >>> You can start *an* email client. Which one depends on what the user has
> >>> installed, and which application he chooses.
> >>> The code I use is:
> >>>> Intent view = new Intent(Intent.ACTION_VIEW);
> >>>> StringBuilder uri = new StringBuilder("mailto:";);
> >>>> uri.append(<email address here>);
> >>>> uri.append("?subject=").append(Uri.encode(<subject here>));
> >>>> uri.append("&body=").append(Uri.encode(<message body here>));
> >>>> view.setData(Uri.parse(uri.toString()));
> >>>> startActivity(view);
> >>> There are other ways to specify subject and body, but this one works
> >>> with certain buggy email clients (H*C Se*se).
> >>> -- Kostya
> >>> 30.11.2010 13:30, pedr0 пишет:
> >>>> Hi at all,
> >>>> How can I make a intent to start the default email client?
> >>>> I would like to set the receiver address of message..
> >>>> Thanks!
> >>> --
> >>> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >>> --http://kmansoft.wordpress.com
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to