Hi @yami
I have completed the tests you requested. I respond to each section.
- I tried running the following command through the console and attempted to resend the invitation from the Taiga web page.
./manage.py shell
from django.core import mail
mail.send_mail("Prueba","Prueba", "correo_origen@gmail.com", ["correo_destino@dominio.io"],
... fail_silently=False)
Outcome:
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: Prueba
From: correo_origen@gmail.com
To: correo_destino@dominio.io
Date: Fri, 19 Jan 2024 13:05:11 -0000
Message-ID: <170566951142.97.14272301372843782765@7492ff798247>
Prueba
-------------------------------------------------------------------------------
1
>>>
- Resend the invitation from the Taiga web page
-------------------------------------------------------------------------------
Content-Type: multipart/alternative;
boundary="===============1847369697987220591=="
MIME-Version: 1.0
Subject: [Taiga] Invitation to join to the project 'Proyecto-Prueba'
From: correo_origen@gmail.com
To: correo_destino@dominio.io
Date: Fri, 19 Jan 2024 13:06:29 -0000
Message-ID: <170566958959.37.8976393786016899420@7492ff798247>
--===============1847369697987220591==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
You, or someone you know, has invited you to Taiga
Hi! someone has sent you an invitation to join a project called Proyecto-Prueba in Taiga.
Taiga is an Open Source Agile Project Management Tool. There is no cost for you to be a Taiga user.
And now a few words from the jolly good fellow or sistren who thought so kindly as to invite you:
Acepta y entra
Accept your invitation to Taiga following this link:
http://taiga.dominio.ejemplo/invitation/4873ad90-b461-11ee-905d-0242c0a86e70
---
The Taiga Team
--===============1847369697987220591==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
- Script
If I run the script to send an email, I get the following error message.
smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. For more information, go to\n5.7.8 https://support.google.com/mail/?p=BadCredentials v2-20020a5d4a42000000b003392b1ebf5csm7509376wrs.59 - gsmtp')
I was looking for guides, and I found one that said that currently, Google does not allow certain modes of sending because they are less secure. To enable such emails, it is necessary to disable the feature called “Allow access for less secure apps.” in the Google account.
Enabling that feature, I am able to receive the email, but I don’t think it’s the best solution.
Yesterday, we tried creating an email on Hostinger, modified the EMAIL variables in the ‘.env’ file, and Taiga successfully sent the emails to invite users.
Thank you very much, and regards @yami .