From 8c7d1f923d7721ff9b42ebabe7c1d3a2a85bec51 Mon Sep 17 00:00:00 2001 From: BOHEUS <56270748+BOHEUS@users.noreply.github.com> Date: Mon, 25 Nov 2024 10:29:39 +0000 Subject: [PATCH] Updated docs for smtp4dev connection (#8713) Taken from [Discord #help ticket](https://discord.com/channels/1130383047699738754/1309967928640147476) --------- Co-authored-by: martmull --- .../src/content/developers/self-hosting/self-hosting-var.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/twenty-website/src/content/developers/self-hosting/self-hosting-var.mdx b/packages/twenty-website/src/content/developers/self-hosting/self-hosting-var.mdx index 8ac0d036c..f84201164 100644 --- a/packages/twenty-website/src/content/developers/self-hosting/self-hosting-var.mdx +++ b/packages/twenty-website/src/content/developers/self-hosting/self-hosting-var.mdx @@ -101,6 +101,7 @@ yarn command:prod cron:calendar:calendar-event-list-fetch You will need to provision an [App Password](https://support.google.com/accounts/answer/185833). + - EMAIL_DRIVER=smtp - EMAIL_SMTP_HOST=smtp.gmail.com - EMAIL_SMTP_PORT=465 - EMAIL_SMTP_USER=gmail_email_address @@ -111,6 +112,7 @@ yarn command:prod cron:calendar:calendar-event-list-fetch Keep in mind that if you have 2FA enabled, you will need to provision an [App Password](https://support.microsoft.com/en-us/account-billing/manage-app-passwords-for-two-step-verification-d6dc8c6d-4bf7-4851-ad95-6d07799387e9). + - EMAIL_DRIVER=smtp - EMAIL_SMTP_HOST=smtp.office365.com - EMAIL_SMTP_PORT=587 - EMAIL_SMTP_USER=office365_email_address @@ -124,6 +126,7 @@ yarn command:prod cron:calendar:calendar-event-list-fetch - Run the smtp4dev image: `docker run --rm -it -p 8090:80 -p 2525:25 rnwood/smtp4dev` - Access the smtp4dev ui here: [http://localhost:8090](http://localhost:8090) - Set the following env variables: + - EMAIL_DRIVER=smtp - EMAIL_SMTP_HOST=localhost - EMAIL_SMTP_PORT=2525