Sendmail Attachments

"Scherler, Thorsten" <[email protected]> Wed, 20 Nov 2002 17:13:10 +0100
Newsgroups gmane.comp.cms.wyona.devel,gmane.comp.cms.wyona.user
Message-ID <[email protected]>
Hello group,

I want to attach a pdf which will be create through a xsp. I will use it to create reports. 

The xsp will get the datasets trough esql then transform it to pdf. I can then get the pdf trough http://localhost:8080/weidmueller/report.pdf?date=11/19/2002.

Now I want to attach the report to a mail and send it using sendmail. sendmail is runnig fine, by the way.

How can I attach a file? <sendmail:attachment> is not working.

Here part of my sendmail logicsheet:
<sendmail:send-mail>
<sendmail:charset>ISO-8859-1</sendmail:charset>
<sendmail:from>[email protected]</sendmail:from>
<sendmail:to>[email protected]</sendmail:to>
<sendmail:subject>Cocoon send mail test</sendmail:subject>
<!-- Modify the next line to point to your mail server -->
<sendmail:smtphost>post.weidmueller.com</sendmail:smtphost>
<sendmail:body>text
</sendmail:body>
</sendmail:send-mail>

King regards


> Mit freundlichem Gruss,
> 
> Thorsten Scherler
> Marketing / Telefonmarketing
> 
> Weidmüller GmbH & Co.
> P.O. Box 2807
> 33058 Paderborn
> Tel.:+ 49 - 5252-960-350
> Fax:+ 49 - 5252-960-116
> eMail: [email protected]
> http://www.weidmueller.de
> 
>