|
I am unable to get emails to send using Gmail's SMTP. I am also unable to debug. I've implemented the error logging mentioned here: http://meta.osqa.net/questions/6048/email-sending-has-stopped-working-how-to-debug And there are no error's being logged. My email settings are as follows: Email Server: smtp.gmail.com Does anyone have a solution, or know how I can better debug? It seems that OSQA is working correctly, but its getting lost afterwards... |
|
I am having the same problem with the version I downloaded from bitnami: Have you checked the osqa/log/django.osqa.log file? Mine says:
And the URL it points to is a page saying:
And it has instructions there on how to login to gmail, but none that I have found to be useful. Could it be Django's smtp.sendmail() failing? I've read that people recommend using EmailMessage instead of sendmail for gmail smtp:
So, ya. While not exactly and answer, I hope this helps shed light on the problem. |
Update: I switched to using a different SMTP server sendgrid.com with these settings:
Email Server: smtp.sendgrid.net Email Port: 587 Email User: no-reply@answers.md Email Password: *** Use TLS: Check Site 'from' email address: no-reply@answers.md
This is following their specifications, and still no mail sent. They do not indicate receiving a request.
Looking through /forum/utils/mail.py its pulling in
local_hostname=DNS_NAME
Are my DNS settings going to affect the sending of mail?