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

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

Open
jfmatth opened this issue Jun 22, 2018 · 2 comments
Open

Comments

@jfmatth
Copy link

jfmatth commented Jun 22, 2018

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

Not sure if you care to fix?

@medmunds
Copy link

medmunds commented Feb 7, 2019

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

@jfmatth
Copy link
Author

jfmatth commented Feb 8, 2019

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants