ui / django-post_office

A Django app that allows you to send email asynchronously in Django. Supports HTML email, database backed templates and logging.
MIT License
1k stars 270 forks source link

Authorisation fails for Office 365 with new default policies in place #441

Open ptav opened 1 year ago

ptav commented 1 year ago

Microsoft recently standardised user security policies to reduce frequency of breaches. that creates an authorisation failure. can probably be overcome with Oauth2 support.

MS has progressive disabled legacy login policies so it is likely that Oauth will soon be required anyway across the board, independently of security setup

jrief commented 1 year ago

django-post_office relies on Django's internal SMTP-backend, and it's there where you have to address this issue.

ptav commented 1 year ago

Thanks! would I then be able to change the email back end to https://pypi.org/project/django-o365mail/?

kakulukia commented 3 months ago

Odly enough this error also bring up another problem, when i try to open a message from the email list, the system also runs into this new SMTP error.

That should not happen. The change form view starts an SMTP connection - why?

image
kakulukia commented 3 months ago

@ptav thanks for the link to this alternative mail backend!