EmailComposerOptions

The EmailComposerOptions object contains options that are passed into blackberry.invoke.card.invokeEmailComposer().

Installation:

To use this API in your project, add the invoke card plugin:

webworks plugin add com.blackberry.invoke.card
Properties:
String[] attachment
String body
Number calendarevent
String[] cc
Number from
String subject
String[] to

attachment

An array of filepaths to files that will be attached to this email.

Synopsis:

String[] EmailComposerOptions.attachment = []

body

The email body that should be set when the composer is invoked.

Synopsis:

String EmailComposerOptions.body = ""

calendarevent

The calendar event ID to attach to this email.

Synopsis:

Number EmailComposerOptions.calendarevent = 0

cc

An array of carbon copied email addresses.

Synopsis:

String[] EmailComposerOptions.cc = []

from

The account ID of the account the composer should send the email from.

Synopsis:

Number EmailComposerOptions.from = 0

subject

The subject that should be set when the composer is invoked.

Synopsis:

String EmailComposerOptions.subject = ""

to

An array of recipient email addresses.

Synopsis:

String[] EmailComposerOptions.to = []

Last modified: 2014-10-09



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus