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...



Simplistix - Content Management, Zope & Python Consulting
Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to