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

Web and WebWorks Development

Reply
New Developer
johnbiiibs
Posts: 7
Registered: ‎10-29-2011
My Device: BlackBerry Torch 9800
Accepted Solution

invokeEmailComposer() Format Email (bold/italicize etc)

[ Edited ]

Hi,

 

Is there anyway to format the text we pass in to invokeEmailComposer()?

 

Because when I try HTML Formatting:

 

blackberry.invoke.card.invokeEmailComposer({
	subject: "Subject",
	body: "<b>Name: </b>" + "\r\n" + "Email: ",
	to: ["test@test.com"]
}, function (done) {
	console.log(done);
}, function (cancel) {
	console.log(cancel)
}, function (invokeError) {
	console.log(invokeError);
});

 I get this:

 

So is there no way to format (bold/italicize) text passed into the body option of invokeEmailComposer()?

 

Thanks,

John

Please use plain text.
BlackBerry Development Advisor
oros
Posts: 1,557
Registered: ‎04-12-2010
My Device: BlackBerry Z10

Re: invokeEmailComposer() Format Email (bold/italicize etc)

Hi John,

Unfortunately the Email Composer invocation only supports plain-text at this time. This would make for a good feature request in JIRA though.

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Please use plain text.
New Developer
johnbiiibs
Posts: 7
Registered: ‎10-29-2011
My Device: BlackBerry Torch 9800

Re: invokeEmailComposer() Format Email (bold/italicize etc)

Hi oros,

I see. That's too bad. Hopefully we get to see a feature like this in the near future.

Appreciate your response though. Thanks!

John
Please use plain text.