Adding new users issue(smtp?)

Hi.
Self-hosted with docker images.
Trying to add new member in the form and get this

If im change “smtp” to “console” it works to add existing user.
Smtp settings is same as for other services who works well.
Please help

hi @Dmitry_Borel welcome to our community.

try to get some more logs using this command, inside the running container:

./taiga-manage.sh test_emails your_peronal_email_address@email.com

you should have data in your database; if you’re still in test mode, you can populate the database with:

./taiga-manage.sh sample_data

Cheers!

Hi

hi, Yami, thnx for welcome.
Thats what i’ve got back :
bla-bla-bla…
Traceback (most recent call last):
File “/taiga-back/manage.py”, line 17, in
execute_from_command_line(sys.argv)
File “/opt/venv/lib/python3.11/site-packages/django/core/management/init.py”, line 419, in execute_from_command_line
utility.execute()
File “/opt/venv/lib/python3.11/site-packages/django/core/management/init.py”, line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/opt/venv/lib/python3.11/site-packages/django/core/management/base.py”, line 354, in run_from_argv
self.execute(*args, **cmd_options)
File “/opt/venv/lib/python3.11/site-packages/django/core/management/base.py”, line 398, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/taiga-back/taiga/base/management/commands/test_emails.py”, line 52, in handle
membership.invited_by = get_user_model().objects.all().order_by(“?”).first()
^^^^^^^^^^^^^^^^^^^^^
AttributeError: ‘NoneType’ object has no attribute ‘invited_by’

did you receive at least one email? this error is in the second test email.

i didnt receive even one message

okay. here is solution in my situation
if we are using:
EMAIL_USE_TLS=True
EMAIL_USE_SSL=False
we should:
EMAIL_PORT=587
(despite of 465)

1 Like