diff --git a/website/docs/administration/smtp/index.md b/website/docs/administration/smtp/index.md index f183811b88b1..ff1ef6abf2d2 100644 --- a/website/docs/administration/smtp/index.md +++ b/website/docs/administration/smtp/index.md @@ -9,8 +9,8 @@ Tabby uses an SMTP server of your choice to send emails. Some functionaties like You can configure the SMTP server settings in the **Mail Delivery** page. ## Configuring SMTP via Amazon SES - - To use Amazon SES, first [follow these steps to creating and verifying identities](https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html). + + To use Amazon SES, first [follow these steps to creating and verifying identities](https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html). Then, use [AWS Access Management(IAM)](https://aws.amazon.com/iam/) to create an SMTP credential. Once you have an IAM user with the necessary permissions, you can use the credentials to configure Tabby like below: @@ -20,10 +20,19 @@ You can configure the SMTP server settings in the **Mail Delivery** page. Other providers such as [SendGrid](https://sendgrid.com/), [Mailgun](https://www.mailgun.com/) or [Resend](https://resend.com) can be configured by providing the SMTP server details. You can find the SMTP server details in the respective provider's documentation. +## Use Self-Signed Certificate + +Self-signed Certificate can also be used in Tabby Mail Delivery, +to use self-signed certificate, you can add an environment variable `TABBY_WEBSERVER_EMAIL_CERT` +before running Tabby, and set its value to the certificate, for example, in bash: + +```bash +export TABBY_WEBSERVER_EMAIL_CERT=$(cat ./self-signed.crt) +``` ## Send a Test Email To verify email sending is working correctly, fill in the **Send Test Email To** field and click **Send** button, Tabby will send a test email using your SMTP configuration. If everything is correct, you will receive a mail like: -![Test Email](./test-email.png) \ No newline at end of file +![Test Email](./test-email.png)