-
Notifications
You must be signed in to change notification settings - Fork 78
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
Error after installing updated sendgrid-django package #34
Labels
Comments
@cesarmarroquin
|
@cesarmarroquin can you share the actual |
Got same error, looks like Reply-To header leads to error: {"errors":[{
"message":"Header can not be one of the reserved keys. Refer to documentation link.",
"field":"headers.Reply-To",
"help":"http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.headers"}
]} |
@zlebnik Thanks for info. I'm on fixing it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting an issue on my python 3.5 and Django 1.10 project. I uninstalled sendgrid and sendgrid-django from my list of packages, and then reinstalled sendgrid-django and I now get a HTTP Error 400: Bad Request error when I try to send mail.
When i check my packages it shows that sendgrid is now 3.6.3 and sendgrid-django is 4.0.1. Sendgrid used to be 1.4.0 and sendgrid-django was 2.0.0 It was working before I installed the new updated versions.
My code is this below
mail = EmailMultiAlternatives( subject="Your Subject", body="a new application was created!", from_email="[email protected] <[email protected]>", to=["[email protected]"], headers={"Reply-To": "[email protected]"} ) mail.send()
Ive been trying to figure out but cant see what is causing the error. I even went as far as clearing my virtual enviroment locally, and reinstalling my packages and that didnt work.
The text was updated successfully, but these errors were encountered: