From 1bf315b97357f7db7ee699b4d3eac5a1e0672fbe Mon Sep 17 00:00:00 2001 From: "Christian W. Zuckschwerdt" Date: Fri, 30 Aug 2024 20:36:31 +0200 Subject: [PATCH] fix: add doc note for mandatory smtps --- deploy.env | 2 ++ dev.env | 2 ++ 2 files changed, 4 insertions(+) diff --git a/deploy.env b/deploy.env index c1b6dae14..f3b629eb0 100644 --- a/deploy.env +++ b/deploy.env @@ -33,6 +33,7 @@ GOTRUE_RATE_LIMIT_EMAIL_SENT=100 # If you intend to use mail confirmation, you need to set the SMTP configuration below # You would then need to set GOTRUE_MAILER_AUTOCONFIRM=false # Check for logs in gotrue service if there are any issues with email confirmation +# Note that smtps will be used for port 465, otherwise plain smtp with optional STARTTLS GOTRUE_SMTP_HOST=smtp.gmail.com GOTRUE_SMTP_PORT=465 GOTRUE_SMTP_USER=email_sender@some_company.com @@ -87,6 +88,7 @@ APPFLOWY_S3_BUCKET=appflowy #APPFLOWY_S3_REGION=us-east-1 # AppFlowy Cloud Mailer +# Note that smtps (TLS) is always required, even for ports other than 465 APPFLOWY_MAILER_SMTP_HOST=smtp.gmail.com APPFLOWY_MAILER_SMTP_PORT=465 APPFLOWY_MAILER_SMTP_USERNAME=email_sender@some_company.com diff --git a/dev.env b/dev.env index 95e783dd4..7f5f2053b 100644 --- a/dev.env +++ b/dev.env @@ -21,6 +21,7 @@ GOTRUE_MAILER_AUTOCONFIRM=false GOTRUE_RATE_LIMIT_EMAIL_SENT=1000 # if you enable mail confirmation, you need to set the SMTP configuration below +# Note that smtps will be used for port 465, otherwise plain smtp with optional STARTTLS GOTRUE_SMTP_HOST=smtp.gmail.com GOTRUE_SMTP_PORT=465 GOTRUE_SMTP_USER=email_sender@some_company.com @@ -78,6 +79,7 @@ APPFLOWY_S3_BUCKET=appflowy #APPFLOWY_S3_REGION=us-east-1 # AppFlowy Cloud Mailer +# Note that smtps (TLS) is always required, even for ports other than 465 APPFLOWY_MAILER_SMTP_HOST=smtp.gmail.com APPFLOWY_MAILER_SMTP_USERNAME=notify@appflowy.io APPFLOWY_MAILER_SMTP_PASSWORD=email_sender_password