Closed ryosuke-kubota closed 6 years ago
In your recent commit https://github.com/sklarsa/django-sendgrid-v5/commit/8a2eab4149f3b47f5d9cbcb9e40432cf086fe226, you're trying to call getheader from an HTTPMessage object that doesn't have such attribute.
msg.extra_headers['message_id'] = resp.headers.getheader('x-message-id')
Django Version: 2.0.6 django-sendgrid-v5 version: 0.6.89
No problem with v0.6.88
I've done some readings and SendGrid docs didn't mention it can be empty.
In your recent commit https://github.com/sklarsa/django-sendgrid-v5/commit/8a2eab4149f3b47f5d9cbcb9e40432cf086fe226, you're trying to call getheader from an HTTPMessage object that doesn't have such attribute.
Django Version: 2.0.6 django-sendgrid-v5 version: 0.6.89
No problem with v0.6.88