Unable to send email even with after setting up SMTP credentials in .env and docker-compose.yml
I have set up all these variables in the .env file, and properly reference them in my docker-compose.yml file. However, I can't seem to figure out how to enable the sending of email. Did I miss anything in my setup/configuration? I set up the SMTP credentials in the server and also in the worker. However, I don't see anywhere where I'm able to send an email. Can someone help me? Is there a button to send emails? What is the condition to get the button so show, so that I can troubleshoot from there.
3 Replies
Hi @felixlwl right now user cannot send email via Twenty. The email setup is used by the system itself to send emails such as password reset or invite links
Hi, I’m borrowing this thread.
I’m trying to get SMTP working for Twenty but having trouble sending emails. I understand the email functionality is for system tasks like password resets and invitations, but I can’t get it to work. I’m using Office365 SMTP without two-factor authentication (2FA). In the logs, I see it attempting to send with the correct email address, but it never leaves Twenty, and I don’t receive any emails. And yes, Firewall setup correct with port 🤸
Should these SMTP settings be placed in the docker-compose.yml or the .env file? And should they go under the service or server variables?
Thanks in advance for any help!
@gothson happy to help, how do you know it's attempting to send an email? could you share your env variables here (without the secret of course)
Marking this as solved, feel free to re-open it if needed 🙂