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).

9 Replies
Hello,
Did you enable the google or microsoft provider from the ENV file ?
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
to be honest I don't use myself docker-compose.
I can tell you about the direct 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
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
@L0RDANGUSOkay, 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?Are you trying to add a custom env variable key ?
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
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
Ahh. I see now.