sklarsa / django-sendgrid-v5

An implementation of Django's EmailBackend compatible with sendgrid-python v5+
MIT License
323 stars 54 forks source link

Emailing from docker #59

Closed rossm6 closed 5 years ago

rossm6 commented 5 years ago

Hi

This package works fine for me outside of docker. But I have a container, a celery worker, that will not send the mail. The container however can make HTTP requests. Am I right in thinking that if I have SENDGRID_API_KEY set this package is just making a HTTP request to the SendGrid API ? If this is true does anybody have any ideas why the mail doesn't work from this container but a standard HTTP request does, to say, Google's server ? I'm at a loss as to how to even corner the real issue on this one.

rossm6 commented 5 years ago

Please delete this. Stupid mistake on my part. Never should have logged this.