On Wed, Apr 29, 2009 at 9:28 AM, [email protected] <[email protected]> wrote: > > Hi All, > > I have email messages send around 10 places. We use mako templates. > Currently we use smtplib and rendered output to send email. > > Do we have any mailer component integrate email and mako together?
Nothing built into Pylons, no. Your approach is sttraightforward and works, so there's no reason to change it. However, Domen's idea for Turbomail sounds interesting and I will try it the next time I need to send mail. But its main advantage would be if you're sending a lot of mail at a time and your SMTP server is outside your local network. As for integrating mail sending and Mako, that makes me shudder. That's not what a template engine is for. You're better off keeping the two separate, and then you can switch template engines or switch email injectors without having to rewrite the entire routine. -- Mike Orr <[email protected]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
