Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mandrill backend blows up hard if settings.INBOUND_MANDRILL_AUTHENTICATION_KEY is missing #32

Open
stevejalim opened this issue May 25, 2017 · 0 comments

Comments

@stevejalim
Copy link
Contributor

TBC whether that's a deliberate design decision or not (the example config implies it should be added, but the readme for the project makes it sound a bit optional.

A fix would simply be to change https://github.com/yunojuno/django-inbound-email/blob/master/inbound_email/backends/mandrill.py#L122

from

        if settings.INBOUND_MANDRILL_AUTHENTICATION_KEY:

to

        if hasattr(settings, 'INBOUND_MANDRILL_AUTHENTICATION_KEY'):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant