hi, i am using zope(2.2.1) for sending mails, but it is not possible to send attachment. kindly let me know the reason have made use of mime to send attachment. thanks, jacintha
<dtml-sendmail mailhost="MailHost"> To:<!--#var to --> From:<!--#var from --> Subject: <dtml-var subject> <dtml-mime type=text/plain encode=7bit> <!--#var comments--> <dtml-boundary type="application/pdf; name=jsp-syntax.pdf" disposition="attachment; filename=EquipmentOrder.pdf" encode=base64><dtml-in "PrintServiceOrder.PrintPdfs.fileValues(fileName)"><dtml-var "_['sequence-item'].getObject()"></dtml-in></dtml-mime> </dtml-sendmail> PrintServiceOrder is a folder PrintPdfs is a localFileSystem Object Hope this helps Dan jacintha menezes wrote:
hi, i am using zope(2.2.1) for sending mails, but it is not possible to send attachment. kindly let me know the reason have made use of mime to send attachment. thanks, jacintha
_______________________________________________ Zope maillist - Zope@zope.org 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 )
participants (2)
-
Daniel Rusch -
jacintha menezes