http://trac.turbogears.org/turbogears/ticket/244

Thanks to Kevin for the pointer to view.py.

I was able to eliminate the last bit of non-TG ness in the email.

sendkidemail( '[EMAIL PROTECTED]', 'project.templates.welcome',
dict_args)

This will email your template in a nice HTML format.  You can also
specify a text version, from address, and a subject.  OR let it default
everything for you.  html->text is automatic.  Subject line is
extracted from the title.

An interesting python learning experience.  Hopefully you will find it
useful too.
Alvin

Reply via email to