My OSQA doesn't send any notification emails. Now with Beta3 I can see errors in the log file.

First error was:

mail.py:create_and_send_mail_messages:89 Email sending has failed: STARTTLS extension not supported by server.

Thanks to @gperrow I've found out that this was cause by "Use TLS" option in email settings. I turned off the option. Now I'm getting the following error:

mail.py:create_and_send_mail_messages:89 Email sending has failed: SMTP AUTH extension not supported by server.

The exception raises here (mail.py line 49):

connection.login(str(settings.EMAIL_HOST_USER), str(settings.EMAIL_HOST_PASSWORD))

asked 28 Mar '11, 06:19

Shrike's gravatar image

Shrike
37691522
accept rate: 33%

edited 29 Mar '11, 06:00


Go into the email settings page and uncheck the "Use TLS" checkbox.

link

answered 28 Mar '11, 22:42

gperrow's gravatar image

gperrow
24651523
accept rate: 25%

OK. Now it says: mail.py:create_and_send_mail_messages:89 Email sending has failed: SMTP AUTH extension not supported by server.

(29 Mar '11, 03:46) Shrike

Oo. I've cleared fields "User name" and "User password" in email settings and after that email notifications start working. It's a bit strange as the credentials is valid for sure.

link

answered 29 Mar '11, 06:11

Shrike's gravatar image

Shrike
37691522
accept rate: 33%

2

The problem isn't that the authentication settings are incorrect, it's that the SMTP server doesn't support the method of authentication that OSQA is attempting. If it works without the credentials, then you don't need to supply them.

FYI this should be a comment on my answer, not a new answer.

(29 Mar '11, 06:42) gperrow
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×101
×25
×24

Asked: 28 Mar '11, 06:19

Seen: 803 times

Last updated: 29 Mar '11, 06:42

powered by OSQA