Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Flip the order of smtp/transmail

Manav Rathia64cbf79dc28
diff --git a/server/configurations/local.yaml b/server/configurations/local.yaml
index 2b90deaaf8..fbff0392ee 100644
--- a/server/configurations/local.yaml
+++ b/server/configurations/local.yaml
@@ -157,22 +157,28 @@ key:
jwt:
secret: i2DecQmfGreG6q1vBj5tCokhlN41gcfS2cjOs9Po-u8=
+# SMTP configuration (optional)
+#
+# Configure credentials here for sending mails from museum (e.g. OTP emails).
+#
+# One of smtp or transmail should be configured for a production instance.
+smtp:
+ isEnabled: false
+ host:
+ port:
+ username:
+ password:
+
# Zoho Zeptomail config (optional)
-# Use case: Sending emails
+#
+# This is an alternative to the `smtp` configuration for sending emails. If this
+# is set (and SMTP credentials are not set), then museum will use the transmail
+# SDK for sending emails using Zoho Zeptomail.
transmail:
# Transmail token
# Mail agent: dev
key:
-# AWS SES
-# Use case: Sending mails
-smtp:
- isEnabled: false
- host:
- port:
- username:
- password:
-
# Apple config (optional)
# Use case: In-app purchases
apple: