Closed fshubthunfischbaum closed 1 year ago
Hey everyone, this is still an issue for us and is thus preventing our video platform from launch. Any help would be appreciated. Thanks :)
Hi, what is the account provider you are using (eg Gmail, Mailgun etc)
And what are the logs? Can you do a tail -f logs/celery*
, then try to send an email (eg use the forgot password) and paste here the error?
Hi again! Thanks for your reply. We are using our own Mail Service, just plain smtp.
Output from the celery log:
Invalid HTTP_HOST header: '${ip}:${port}'. The domain name provided is not valid according to RFC 1034/1035.
The mailserverhost entered is mail.fshub.io with a 587 as port. This is the config:
DEFAULT_FROM_EMAIL = 'tube@fshub.io'
EMAIL_HOST_PASSWORD = 'supersecretpasswordhere'
EMAIL_HOST_USER = 'tube@fshub.io'
EMAIL_USE_TLS = True
SERVER_EMAIL = 'tube@fshub.io'
EMAIL_HOST = 'mail.fshub.io'
EMAIL_PORT = 587
We should be good, right?
Hi, I'm not sure how this error is related with the email settings - which look good btw.
Can you share the complete trace?
Also there are some instructions here https://github.com/mediacms-io/mediacms/blob/main/docs/admins_docs.md#15-debugging-email-issues that will help find the real problem, can you try that?
Describe the issue MediaCMS is not sending any E-Mails.
To Reproduce Steps to reproduce the issue:
Expected behavior Expecting the User to receive the registration E-Mail
Environment (please complete the following information):
Additional context Could not test with the manage.py shell. Unable to load Django interface. That manage.py is also not in the right folder. I did not move it, but the troubleshooting guide is based on different folder paths. My location of the manage.py file: /home/mediacms.io/mediacms.py
I'm not sure, but there is a SSL Bug with a Version of smtplib of Python. Is this the issue for my installation as well? I sent out an E-Mail without SSL/TLS. That went successfully.