[Zope] getting body text of object

Malthe Borch mborch at 3avod.dk
Sun Apr 10 07:08:13 EDT 2005


Hey list, ---

In a python script I'm sending a mail using the Mailhost object. I'd like to use
a template and keep this template in the portal_skins.custom folder. So I've
created a ZPT object that holds my template and now I wish to retrieve the
rendered text from my script.

I've tried the CookedBody() method, but it doesn't seem to work. Any clues?

\malthe

----
 mail: mborch at 3avod.dk
 blog: www.3avod.dk/blog/
 crypto-key: 3avod.dk/keys/mborch.asc
--------------------------------------



More information about the Zope mailing list