Varun Parange wrote:
hi,
is it possible to send mails with attachments using Zope MailHost??
if so,...how do u achieve it?

I use DTML method to send .csv-file as attachment:


<dtml-sendmail mailhost="MailHost">
To: <dtml-var msgTo>
From: <dtml-var msgFrom>
Subject: <dtml-var msgSbj>
<dtml-mime type="text/plain" encode="7bit">

<dtml-var msgBody>

<dtml-boundary type="text/csv" disposition="attachment"
encode="base64" filename="addresses.csv"><dtml-var expr="msgFile"></dtml-mime>
</dtml-sendmail>


I hope it helps.


_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to