1 | /**
|
2 | * A map defining the data to fill the mail.
|
3 | */
|
4 | export declare type MailComposerOptions = {
|
5 | /**
|
6 | * An array of e-mail addresses of the recipients.
|
7 | */
|
8 | recipients?: string[];
|
9 | /**
|
10 | * An array of e-mail addresses of the CC recipients.
|
11 | */
|
12 | ccRecipients?: string[];
|
13 | /**
|
14 | * An array of e-mail addresses of the BCC recipients.
|
15 | */
|
16 | bccRecipients?: string[];
|
17 | /**
|
18 | * Subject of the e-mail.
|
19 | */
|
20 | subject?: string;
|
21 | /**
|
22 | * Body of the e-mail.
|
23 | */
|
24 | body?: string;
|
25 | /**
|
26 | * Whether the body contains HTML tags so it could be formatted properly.
|
27 | * Not working perfectly on Android.
|
28 | */
|
29 | isHtml?: boolean;
|
30 | /**
|
31 | * An array of app's internal file URIs to attach.
|
32 | */
|
33 | attachments?: string[];
|
34 | };
|
35 | export declare type MailComposerResult = {
|
36 | status: MailComposerStatus;
|
37 | };
|
38 | export declare enum MailComposerStatus {
|
39 | UNDETERMINED = "undetermined",
|
40 | SENT = "sent",
|
41 | SAVED = "saved",
|
42 | CANCELLED = "cancelled"
|
43 | }
|