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> <xsp:expr>text</xsp:expr> </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 > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>