[Zope] MIMETools question... again

Dmitry Ishutkin dima@interbit.ru
Thu, 16 Mar 2000 11:37:07 +0700


Hello.

Many thanks to all for your answers on my recent question about MIMETools.
Really, tag <!--#boundary --> is implemented now, and works, but...
I need sending mail with multiple file attachement...
Combination of several tags <!--#boundary --> working...
When I tryed insert tag <!--#boundary --> into tag <!--#in -->,
Zope said: "Unexpected tag, for tag <!--#boundary ..."
Because <!--#boundary --> is only meaningful in the context of the 
<!--#mime --> tag.
We have loss of this context? Below example of my stupid code.

[ --- begin code snippet ---]

<!--#mime type=text/plain encode=7bit -->
just example text...

<!-- #in "files_to_mail" -->
<!--#boundary type=application/octet-stream disposition=attachment 
encode=base64-->
<!--#var sequence-item -->
<!-- #/in -->

<!--#/mime -->

[ --- end code snippet ---]

Any ideas?

Dima.