From f1b1435e172ab2b3a6aadac7c0122619d848b934 Mon Sep 17 00:00:00 2001 From: Wen Yu Ge Date: Tue, 19 Jul 2022 15:43:57 -0400 Subject: [PATCH 1/2] add in example --- app/views/docs/email-delivery.phtml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/docs/email-delivery.phtml b/app/views/docs/email-delivery.phtml index 8290c416d..ea6dab46b 100644 --- a/app/views/docs/email-delivery.phtml +++ b/app/views/docs/email-delivery.phtml @@ -12,13 +12,13 @@

_APP_SMTP_PORT - SMTP server TCP port. Empty by default.

-

_APP_SMTP_SECURE - SMTP secure connection protocol. Empty by default, change to ‘tls’ if running on a secure connection.

+

_APP_SMTP_SECURE - SMTP secure connection protocol. Empty by default, change to 'tls' if running on a secure connection.

_APP_SMTP_USERNAME - SMTP server user name. Empty by default.

_APP_SMTP_PASSWORD - SMTP server user password. Empty by default.

-

_APP_SYSTEM_EMAIL_ADDRESS - Email address used for sending the emails. "team@appwrite.io" by default.

+

_APP_SYSTEM_EMAIL_ADDRESS - Configured sender email address, "team@appwrite.io" by default. This is the email address seen by recipients.

Here's a sample configuration if you're using SendGrid as your SMTP provider.

@@ -27,7 +27,8 @@ _APP_SMTP_PORT=587 _APP_SMTP_SECURE=tls _APP_SMTP_USERNAME=YOUR-SMTP-USERNAME -_APP_SMTP_PASSWORD=YOUR-SMTP-PASSWORD +_APP_SMTP_PASSWORD=YOUR-SMTP-PASSWORD +_APP_SYSTEM_EMAIL_ADDRESS=YOUR-SENDER-EMAIL

Restart Your Appwrite Server

From 7892cf3a1e5918b40e0ad3cea7301ca5e1068d04 Mon Sep 17 00:00:00 2001 From: Wen Yu Ge Date: Tue, 19 Jul 2022 16:38:12 -0400 Subject: [PATCH 2/2] Add valid values for _APP_SMTP_SECURE --- app/views/docs/email-delivery.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/docs/email-delivery.phtml b/app/views/docs/email-delivery.phtml index ea6dab46b..c70c9226a 100644 --- a/app/views/docs/email-delivery.phtml +++ b/app/views/docs/email-delivery.phtml @@ -12,7 +12,7 @@

_APP_SMTP_PORT - SMTP server TCP port. Empty by default.

-

_APP_SMTP_SECURE - SMTP secure connection protocol. Empty by default, change to 'tls' if running on a secure connection.

+

_APP_SMTP_SECURE - SMTP secure connection protocol. Empty by default, change to 'tls' if running on a secure connection. Valid values are empty, 'tls', and 'ssl'.

_APP_SMTP_USERNAME - SMTP server user name. Empty by default.