31 May
2005
31 May
'05
3:59 p.m.
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.