[Zope] Re: sending query output as an attachment

Daniel Rusch drusch@globalcrossing.com
Fri, 03 Nov 2000 08:56:55 -0600


This is what we do

<dtml-sendmail mailhost="MailHost"> 
To:<dtml-var to >
From:<dtml-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>


Dan

jacintha menezes wrote:
> 
> Hi,
>     I am developing a product in which a output report (tabular form with
> data) is produced in result of a query. I have to send that report to
> different people through the mail
> facility available in zope as an attachment.
>    So kindly guide me how can i send the output report as an attachment.If
> it can be through dtml tags or python module etc kindly write those methods
> for me.
> 
> Waiting for your reply
>                                           Thanks,
>                                             Bye,
>                                              jacintha