python-sparkpost
python-sparkpost copied to clipboard
django - Doesn't work with mail_admins() function in django.core.mail
send_mail() works as expected, but using mail_admins() does not.
Not sure if you care to fix?
@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 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!