pallets-eco / flask-mail

Flask-Mail adds SMTP mail sending to your Flask applications
https://flask-mail.readthedocs.io
BSD 3-Clause "New" or "Revised" License
598 stars 172 forks source link

Allow custom Connection class #43

Open honzajavorek opened 11 years ago

honzajavorek commented 11 years ago

It would be nice to allow to set custom Connection class. I need some tweaks so I could just subclass it, but there is no way how to tell flask-mail it should use my implementation. I think the change would be very easy and it would provide more extensibility. Now the only way is monkeypatching, which is ugly.

mattupstate commented 11 years ago

Great suggestion. I'll try and get on this as soon as I can.

jamesonjlee commented 10 years ago

I assume this is to implement what #21 is intending to do?