[Zope] Generating emails with multiple attachments

Dieter Maurer dieter@handshake.de
Mon, 4 Feb 2002 23:24:44 +0100


Maik Jablonski writes:
 > I've googled & egrouped, but could not find an answer...
 > 
 > I want to send an email with attachments with the <dtml-sendmail><dtml-mime><dtml-boundary><dtml-var>-tags. It works well if I send an email with one or more "hardcoded" <dtml-boundary>-blocks.
 > 
 > My problem is: I want to iterate over a folder and send all files as attachments.
 > ...
Look at the sources of "Products/MailHost" and "Products/MIMETools"
how "dtml-sendmail" and "dtml-mime" are implemented.
Use the infrastructure in an External Method (maybe Python Script)
to get what you want.


Dieter