[Zope] attaching files from a folder

jonatan jonatanpelikan@freemail.hu
26 Nov 2002 19:50:38 +0100


hi!


i would like to attach files in a folder named 'attach'

here is a very basic dtml:

<dtml-mime type="text/plain; charset=iso-8859-2"
encode="quoted-printable">
<dtml-in "attach.objectValues()">
<dtml-boundary encode="base64" disposition="attachment">
</dtml-in>
</dtml-mime>


zope doesnt permit saving this:

Error Type: Document Template Parse Error
Error Value: Unexpected tag, for tag <dtml-boundary encode="base64"
disposition="attachment">, on line 37 of send_welcome_mail

if i get <dtml-boundary> out of <dtml-in>, then it works. but how can i
loop over some sequence to be included within <dtml-boundary>?


one more question: i would like "8bit" for content-transfer encoding.
isnt there a way to use that?

thanks,


jonatan