sklarsa / django-sendgrid-v5

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

Added support for the send_at scheduling parameter. #17

Closed mr-napik closed 6 years ago

mr-napik commented 6 years ago

Scheduling parameter https://sendgrid.com/docs/API_Reference/SMTP_API/scheduling_parameters.html#-Send-At is retrieved from the original message and written to the target. It is also checked for type as standard time.time() timestamp is float and is refused by SendGrid.

sklarsa commented 6 years ago

Looks good to me. Can you add a quick unit test for this functionality in test/test_mail.py? Thanks!