[Zope] Sendmail, Python and ZPT

Mike Renfro renfro@tntech.edu
Sun, 3 Nov 2002 17:30:30 -0600


On Sun, Nov 03, 2002 at 07:12:42PM -0400, beno wrote:

> I'm sure you're right. However, I searched through half a year of
> the archives for this and the ZPT list and found no references to
> *sendmail* in the subject that also implied ZPT. Would you help me
> anyway? Since this is important, I believe I'll write a How-To when
> I'm done.

I think the prevailing wisdom is that ZPT is best suited for XML-type
content, and that DTML is still needed for non-XML dynamic content
(email, javascript, etc.). You can still use ZPT as a front-end, but
you'll need DTML or a Python script in the back to do the actual email
composition.

http://www.zopelabs.com/cookbook/991178206 for info on sending mail
via Python script.

ZPT/DTML version in German, possibly not completely applicable:
http://www.dzug.org/Members/mschopen/index_html/howto/cmf_mailhost

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu