# Adding new users issue(smtp?)

**URL:** <https://community.taiga.io/t/adding-new-users-issue-smtp/2572>\
**Category:** Self hosted Taiga\
**Created:** [February 2, 2024, 3:08pm UTC](https://community.taiga.io/t/adding-new-users-issue-smtp/2572 "2024-02-02T15:08:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitry\_Borel](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/dmitry_borel/32/1456_2.png) [@Dmitry\_Borel](https://community.taiga.io/u/Dmitry_Borel)\
**Post date:** [February 2, 2024, 3:08pm UTC](https://community.taiga.io/t/adding-new-users-issue-smtp/2572/1 "2024-02-02T15:08:10Z")

</div>

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

 ![Untitled](https://europe1.discourse-cdn.com/flex017/uploads/taiga/original/2X/4/44eaa2ca524bcdc0319541c36b44362d62f85e76.png)

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

---

<div class="post-metadata">

**Author:** ![yami](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/yami/32/289_2.png) [@yami](https://community.taiga.io/u/yami)\
**Post date:** [February 5, 2024, 10:11am UTC](https://community.taiga.io/t/adding-new-users-issue-smtp/2572/2 "2024-02-05T10:11:01Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Dmitry\_Borel](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/dmitry_borel/32/1456_2.png) [@Dmitry\_Borel](https://community.taiga.io/u/Dmitry_Borel)\
**Post date:** [February 5, 2024, 12:51pm UTC](https://community.taiga.io/t/adding-new-users-issue-smtp/2572/3 "2024-02-05T12:51:41Z")

</div>

## 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’

---

<div class="post-metadata">

**Author:** ![yami](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/yami/32/289_2.png) [@yami](https://community.taiga.io/u/yami)\
**Post date:** [February 6, 2024, 8:45am UTC](https://community.taiga.io/t/adding-new-users-issue-smtp/2572/4 "2024-02-06T08:45:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Dmitry\_Borel](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/dmitry_borel/32/1456_2.png) [@Dmitry\_Borel](https://community.taiga.io/u/Dmitry_Borel)\
**Post date:** [February 6, 2024, 10:58am UTC](https://community.taiga.io/t/adding-new-users-issue-smtp/2572/5 "2024-02-06T10:58:35Z")

</div>

i didnt receive even one message

---

<div class="post-metadata">

**Author:** ![Dmitry\_Borel](https://dub1.discourse-cdn.com/flex017/user_avatar/community.taiga.io/dmitry_borel/32/1456_2.png) [@Dmitry\_Borel](https://community.taiga.io/u/Dmitry_Borel)\
**Post date:** [February 6, 2024, 11:58am UTC](https://community.taiga.io/t/adding-new-users-issue-smtp/2572/6 "2024-02-06T11:58:00Z")

</div>

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)
