[Zope-CMF] email attachments

Antony Higgs ahiggs at brookes.ac.uk
Tue Jan 6 10:52:31 EST 2004


Hi

I have a folder with several text files in and I am trying to loop through them and attach them all to one email and send it off.

I have the DTML to loop...

<dtml-in expr="objectValues()">

</dtml-in>

...and to send an email with attachment...

<dtml-sendmail mailhost="MailHost">
To: bar at foo.com
From: foo at bar.com
Subject: test
<dtml-mime type=text/plain encode=7bit>
<dtml-boundary filename_expr= type=application/octet-stream disposition=attachment encode=base64>
<dtml-var >
</dtml-mime>
</dtml-sendmail>

...I just can't seem to join the two together to get 'filename_expr' and '<dtml-var >'

Can anyone help?

Many thanks

Antony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-cmf/attachments/20040106/b32e4203/attachment.html


More information about the Zope-CMF mailing list