Mail Configuration #451
-
Hi Team, I added email configuration in configuration.py, but subscription verification emails are not working.. and also there is no log in mail server from the application. Is there any other place I need to configure mail setup Where can I check the application logs ? |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments
-
You only need to configure the parameters in the |
Beta Was this translation helpful? Give feedback.
-
Dear, Same issue on my side. |
Beta Was this translation helpful? Give feedback.
-
I did try restart after changing values in configuration.py, but no luck.. Attaching mail configuration code below, please let me know if you need more details. Email settingsEMAIL = { |
Beta Was this translation helpful? Give feedback.
-
Please check for failed background tasks in the Django Admin Panel. You should see an entry in the "default" queue with the callable "utilities.utils.send_mail". There you may find more information. |
Beta Was this translation helpful? Give feedback.
-
I couldnt find that option from Django Admin panel, When I click Background task option it shows only RQ Queues statistics. attaching screenshot |
Beta Was this translation helpful? Give feedback.
-
Thats correct, if you click on the number in the column "failed" for the row "default" you would see if there is any failed job. Since there is no failed job, you may have to try sending a mail. If there is still no failed job, you may have to check the logs of your smtp server for connection attempts. |
Beta Was this translation helpful? Give feedback.
-
Dear @herrtxbias , I do not find any utilities.utils.send_mail job in the default queue.
|
Beta Was this translation helpful? Give feedback.
-
Hi @herrtxbias , yeah I checked the smtp logs, there is no request from the application. |
Beta Was this translation helpful? Give feedback.
-
In subscribers/models.py I modified line 76/77:
And email is received. because in subscribers/views.py we have line 29
|
Beta Was this translation helpful? Give feedback.
-
And I now have a finished job utilities.utils.send_mail |
Beta Was this translation helpful? Give feedback.
-
I've opened an issue for this bug: |
Beta Was this translation helpful? Give feedback.
I've opened an issue for this bug: