You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to: ['someone@example.com', 'someone-else@example.com'],
8
21
message: {
9
22
subject: 'Hello from Firebase!',
10
23
text: 'This is the plaintext section of the email body.',
@@ -22,12 +35,12 @@ After its installation, this extension monitors all document writes to the `${pa
22
35
The top-level fields of the document supply the email sender and recipient information. Available fields are:
23
36
24
37
***from:** The sender's email address. If not specified in the document, uses the configured "Default FROM address" parameter.
25
-
***replyTo:** The reply-to email address. If not specified in the document, uses the configured "Default REPLY-TO address" parameter.
26
-
***to:** An array containing the recipient email addresses.
38
+
***replyTo:** The reply-to email address. If not specified in the document, uses the required configured "Default REPLY-TO address" parameter.
39
+
***to:** An email address or an array containing the recipient email addresses.
27
40
***toUids:** An array containing the recipient UIDs.
28
-
***cc:** An array containing the CC recipient email addresses.
41
+
***cc:** An email address or an array containing the CC recipient email addresses.
29
42
***ccUids:** An array containing the CC recipient UIDs.
30
-
***bcc:** An array containing the BCC recipient email addresses.
43
+
***bcc:** An email address or an array containing the BCC recipient email addresses.
31
44
***bccUids:** An array containing the BCC recipient UIDs.
32
45
33
46
**NOTE:** The `toUids`, `ccUids`, and `bccUids` options deliver emails based on user UIDs keyed to email addresses within a Cloud Firestore document. To use these recipient options, you need to specify a Cloud Firestore collection for the extension's "Users collection" parameter. The extension can then read the `email` field for each UID specified in the `toUids`, `ccUids`, and/or `bccUids` fields.
0 commit comments