No email connection settings

Looking to connect my e-mail to 20, however there doesn't appear to be any way to connect to an SMTP provider (screenshot attached).
No description
9 Replies
Guillaume
Guillaume5mo ago
Hello, Did you enable the google or microsoft provider from the ENV file ?
L0RDANGUS
L0RDANGUS5mo ago
I've tried enabling the google variables from the setup guide in the ENV file, and enabling the variables in the docker-compose file, but the variables still don't show up as enabled in the admin panel. I'm pretty new to docker, and I'm sure I did something wrong, but any help would be appreciated
Guillaume
Guillaume5mo ago
to be honest I don't use myself docker-compose. I can tell you about the direct
npx nx run ....
npx nx run ....
command though. indeed the ENV var are required for google to work MESSAGING_PROVIDER_GMAIL_ENABLED=true CALENDAR_PROVIDER_GOOGLE_ENABLED=true MESSAGING_PROVIDER_GMAIL_CALLBACK_URL
Prastoin
Prastoin5mo ago
You need to mutate both the .env file variable value and un-comment/add the bridge within the docker-compose.yml Unless I'm mistaken you should be able to read the value directly from twenty-server container using echo $MY_VAR In case admin panel might be synched or what ever @L0RDANGUS
L0RDANGUS
L0RDANGUS5mo ago
Okay, I've reinstalled everything and added the variables to the .env file, and uncommentd the same variables in the docker-compose.yml file under both the server and worker section. I tried to read the variables with echo $MY_VAR. I can't read any of the variables that I've added, but I can read all the other variables in docker-compose.yml Is there anything else I should look at that could be causing the problem?
Prastoin
Prastoin5mo ago
Are you trying to add a custom env variable key ?
L0RDANGUS
L0RDANGUS5mo ago
Those variables weren’t already in the .env file that I opened so I figured I had to add them. Is there another .env file I should be using? @prastoin
Prastoin
Prastoin5mo ago
Yep but there're expected by the application itself We might have a regression regarding env variable computation for self hosters about to investigate the latest tomorrow morning
L0RDANGUS
L0RDANGUS5mo ago
Ahh. I see now.

Did you find this page helpful?