On 6/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Can I (ab)use ZPT for such purpose? I need to design ZPT template and write corresponding View object. How to wire together the ZPT template and corresponding View object to render a HTML message and send it using mail utility?
You would use it as any other view, really. Probably you have to explicitly look it up with queryMultiAdapter for the object in question, and then just call it. However, unless REQUEST is involved generating the mail, you might want to skip the view and just use a PageTemplate object. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ _______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users