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
feat(firestore-send-email): migrate to v2 cloud function (#2359)
* feat(firestore-send-email): migrate to v2 cloud function
* chore(firestore-send-email): format
* chore(firestore-send-email): generate readme and fix issue in extension.yaml
* fix(firestore-send-email): sourceDirectory
* fix(firestore-send-email): correct database being used
* fix(firestore-send-email): fixing tests
* chore(firestore-send-email): format
* chore(firestore-send-email): rid of unnecessary files
* fix(firestore-send-email): fixing tests
* fix(firestore-send-email): fix extension.yaml
* chore(firestore-send-email): generate readme and fix issue in extension.yaml
* fix(firestore-send-email): correct database being used
* chore(firestore-send-email): rid of unnecessary files
* Apply suggestions from code review
fix: add defaults to config.ts to make tests run
---------
Co-authored-by: Jacob Cable <[email protected]>
Copy file name to clipboardExpand all lines: firestore-send-email/POSTINSTALL.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
You can test out this extension right away!
4
4
5
-
1. Go to your [Cloud Firestore dashboard](https://console.firebase.google.com/project/${param:PROJECT_ID}/firestore/data) in the Firebase console.
5
+
1. Go to your [Cloud Firestore dashboard](https://console.firebase.google.com/project/${param:PROJECT_ID}/firestore/data) in the Firebase console. Note that, if you have configured a non-default firestore database, you may have to view it via the [Google Cloud Console](https://console.cloud.google.com/firestore/databases/${param:DATABASE}).
6
6
7
7
1. If it doesn't already exist, create the collection you specified during installation: `${param:MAIL_COLLECTION}`.
Copy file name to clipboardExpand all lines: firestore-send-email/README.md
+8-2
Original file line number
Diff line number
Diff line change
@@ -219,6 +219,12 @@ You can find more information about this extension in the following articles:
219
219
220
220
**Configuration Parameters:**
221
221
222
+
* Firestore Instance ID: The Firestore database to use. Use "(default)" for the default database. You can view your available Firestore databases at [https://console.cloud.google.com/firestore/databases](https://console.cloud.google.com/firestore/databases).
223
+
224
+
225
+
* Firestore Instance Location: Where is the Firestore database located? You can check your current database location at [https://console.cloud.google.com/firestore/databases](https://console.cloud.google.com/firestore/databases).
226
+
227
+
222
228
* Authentication Type: The authentication type to be used for the SMTP server (e.g., OAuth2, Username & Password.
223
229
224
230
* SMTP connection URI: A URI representing an SMTP server this extension can use to deliver email. Note that port 25 is blocked by Google Cloud Platform, so we recommend using port 587 for SMTP connections. If you're using the SMTPS protocol, we recommend using port 465. In order to keep passwords secure, it is recommended to omit the password from the connection string while using the `SMTP Password` field for entering secrets and passwords. Passwords and secrets should now be included in `SMTP password` field.
@@ -263,9 +269,9 @@ password)
263
269
264
270
265
271
266
-
**Cloud Functions:**
272
+
**Other Resources**:
267
273
268
-
***processQueue:** Processes document changes in the specified Cloud Firestore collection, delivers emails, and updates the document with delivery status information.
0 commit comments