Klaus Herrmann writes:
 > ... Email with file attachment ...
 > <dtml-sendmail mailhost=fox>
 > To: ...
 > From: ...
 > Subject: ...
 > <dtml-mime type=text/plain encode=7bit>
 > 
 > plain text....
 > 
 > <dtml-boundary type=application/octet-stream
 > disposition=attachment encode=base64>
 > <dtml-var attached_file></dtml-mime>
 > 
 > </dtml-sendmail>
Almost perfect.

Use
   <dtml-var "attached_file.read()"></dtml-mime>
instead.


Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to