Hello people,
I just did a fresh install of Taiga on my Docker host and after a few issues I managed to get it to work but no matter what, the email is not working.
Following the email configurations from the docs Install Taiga in Production I put the email configs in the env settings of Portainer.
According to your screenshot, you are using console as EMAIL_BACKNED so emails are being printed through the console (along with the rest of the logs).
Change it to smtp if you want to send via smtp server.
Taiga use the command email libs from python (specifically the implementation offered by Django) so it is something that is highly proven so errors are usually related to finding the appropriate values for configuration parameters.
Something that would be great is to have a command in taiga to test the SMTP connection with the server. But there isn’t. There is a command to send emails that is used to test all the emails in the application. But you need to load the sample data first.
The first command creates example users and projects on the platform and the second sends an example of each email to the indicated email address. This way you can prove that the sending is done correctly.
from django.core.mail import send_mail
send_mail("subject", "body", "from@email.com", ["to@email.com"])
These two methods should show you the connection error traces on the screen.
On the other hand, to see the logs of the email sending in the platform you should review the taiga-back and taiga-async service (the emails are sent from an asynchronous task soemtimes).
This is an example error after an invitation has been sent:
(I’m so sorry, but it’s difficult for me to indicate the steps you need to follow if you use an environment other than the one described in the documentation. I don’t use Portainer nor have I tried installing taiga there)