Zope 2.6 - RE: [Zope] Sending e-mail attachments through a python script

Trevor Toenjes zope@toenjes.com
Tue, 16 Apr 2002 22:23:35 -0400


> If you use the MIMETools-<dtml-sendmail>-tag, you can't attach several
> attachments to one mail. maybe you should have a look at the NMIMETools at
This is misleading.  You can attach several attachments with the sendmail
tag.  I have many scripts that do it.

What you can't do...is loop <dtml-boundary> to programmatically add multiple
attachments.
Maik, I like your nmime idea.  Would it be difficult for you to alter/patch
the Zope core to add an end-tag to <dtml-boundary>, making it a block tag?
Adding a </dtml-boundary> would solve the problem in Zope, and would be a
great addition to 2.6.

Thanks,
Trevor



> http://www.zope.org/Members/mjablonski/
>
> greetings, maik.
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )