Skip to content

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

Open
@stevejalim

Description

@stevejalim

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'):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions