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
krum
Posts: 8
Registered: ‎04-05-2011
My Device: Storm 9550

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?

Please use plain text.
New Contributor
krum
Posts: 8
Registered: ‎04-05-2011
My Device: Storm 9550

Re: Invoking Email composer with HTML content

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

Please use plain text.
Contributor
StateOfCash
Posts: 11
Registered: ‎01-14-2012
My Device: PlayBook

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!
Please use plain text.
New Contributor
krum
Posts: 8
Registered: ‎04-05-2011
My Device: Storm 9550

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.

Please use plain text.
New Contributor
krum
Posts: 8
Registered: ‎04-05-2011
My Device: Storm 9550

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.

Please use plain text.
Developer
Developer
mdd
Posts: 225
Registered: ‎01-17-2012
My Device: PB

Re: Invoking Email composer with HTML content

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

 

Regards,

 

 

Please use plain text.
Regular Contributor
lorax1284
Posts: 69
Registered: ‎06-14-2010
My Device: Passport

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?

Please use plain text.