Tom Von Lahndorff wrote:
How is dtml more "error-prone" than python? I'd imagine that all depends on
who's authoring it.

In this particular example, python's email package has a very OO approach to generating emails.

The DTML approach relies on you remembering to put in the right statements for the right constituent email parts in the right places. It's easy to make mistakes and generate emails that won't work with most clients.

It's also harder to generate emails with the correct headers (Date, Message-ID, etc) than it should be, so you're more likely to pump out email that mtas consider to be spam.

The DTML approach also makes attaching files a living hell...

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to