python-sparkpost icon indicating copy to clipboard operation
python-sparkpost copied to clipboard

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

Open jfmatth opened this issue 6 years ago • 2 comments

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

Not sure if you care to fix?

jfmatth avatar Jun 22 '18 02:06 jfmatth

@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.

medmunds avatar Feb 07 '19 22:02 medmunds

@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!

jfmatth avatar Feb 08 '19 16:02 jfmatth