Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
New Contributor
Posts: 8
Registered: ‎04-05-2011
My Device: Storm 9550
My Carrier: Globul

Invoking Email composer with HTML content

Hi all. Is there a way to invoke Email composer and fill it with text/html content type. Setting the mime type to text/html and giving byte array data in InvokeRequest doesn't work. It is not documented here http://developer.blackberry.com/air/documentation/bb10/email.html but maybe someone will know?

New Contributor
Posts: 8
Registered: ‎04-05-2011
My Device: Storm 9550
My Carrier: Globul

Re: Invoking Email composer with HTML content

Strange that it is not documented. It is so simple and needed functionality. 

Contributor
Posts: 11
Registered: ‎01-14-2012
My Device: PlayBook
My Carrier: N/A

Re: Invoking Email composer with HTML content

Did you try with the navigateToURL function ?

navigateToURL(new URLRequest("mailto:?to=me@me.com&subject=My subject&body=" + encodeUri(htmlContent))

--------------------------------------------------------------------------------------------------
StateOfCash - personal finance management made easy.
Build great wireframes with MockItUp in a snap!
New Contributor
Posts: 8
Registered: ‎04-05-2011
My Device: Storm 9550
My Carrier: Globul

Re: Invoking Email composer with HTML content

Maybe the same or something similar. I don't remember exactly so I will try it next week.

New Contributor
Posts: 8
Registered: ‎04-05-2011
My Device: Storm 9550
My Carrier: Globul

Re: Invoking Email composer with HTML content

navigateToURL "mailto:" doesn't render html content. It's the same as using standart invocation - shows only text.

Developer
Developer
Posts: 227
Registered: ‎01-17-2012
My Device: PB
My Carrier: ATT

Re: Invoking Email composer with HTML content

seems that this is still not possible using 10.2... any resolution?

 

Regards,

 

 

Developer
Posts: 97
Registered: ‎06-14-2010
My Device: Passport
My Carrier: Virgin Mobile Canada

Re: Invoking Email composer with HTML content

I'm wondering about this too: I want to send a tabular record of transactions in an HTML table via email and getting raw markup in the destination... is it possibly that the markup is being turned into entities like < instead of passing through unaltered?