From a64cbf79dc28cd310bfcdee5d1eda1fb4c1555ee Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Thu, 28 Mar 2024 16:20:49 +0530 Subject: [PATCH] Flip the order of smtp/transmail --- server/configurations/local.yaml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) 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: