Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Seems really nice with a first glance. Are you considering any Django support in the future?


Django's Email API is already pretty solid, see the EmailMessage[0] class. Attachments and multiple MIME types are handled for sending text & html versions of the email body.

However, given that Django is just Python there's nothing precluding you from using the library as a drop-in replacement.

[0] https://docs.djangoproject.com/en/dev/topics/email/#emailmes...


I don't generally do Django, but I don't think it should be a problem. Just a word of warning - if you're going to use a global per-app SMTP connection remember to wrap it in connstack. The Flask example shows this and it shouldn't be hard to do the same in Django.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: