Skip to content

django - Doesn't work with mail_admins() function in django.core.mail #173

Open

Description

@jfmatth

send_mail() works as expected, but using mail_admins() does not.

Not sure if you care to fix?

Activity

  1. medmunds commented on Feb 7, 2019

    @medmunds

    @jfmatth is your SERVER_EMAIL setting set to a valid sender address for your SparkPost account?

    If you haven't set that, the default for mail_admins is sending from "root@localhost". SparkPost (like most email services) will reject that as invalid.

  2. jfmatth commented on Feb 8, 2019

    @jfmatth
    Author

    @medmunds thanks for the tip, i'll have a look.

    I don't recall if I set it, since it was a while ago, but i'll check it now.

    Would love to get SparkPost to work, since it's an awesome service!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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