On 05.Jun.2002 -- 03:21 PM, "Ehms, J�rgen" wrote:
> I added the capability to send attachements with Sendmail.xsl
>
> the tag <sendmail:attachement>
> will add all given Files separated by semicolon
> in a String to the mail.
>
> usage:
> <sendmail:send-mail>
> <sendmail:smtphost>Mailserver</sendmail:smtphost> <!-- default is
> 127.0.0.1 -->
> <sendmail:from>[EMAIL PROTECTED]</sendmail:from> <!-- required -->
> <sendmail:to>[EMAIL PROTECTED]</sendmail:to> <!-- required -->
> <sendmail:cc>[EMAIL PROTECTED]</sendmail:cc>
> <sendmail:bcc>[EMAIL PROTECTED]</sendmail:bcc>
> <sendmail:charset>ADRFROM</sendmail:charset>
> <sendmail:subject>TXTSubjekt</sendmail:subject>
> <sendmail:body>TXTMSG</sendmail:body>
> <sendmail:charset>ISO-8859-1</sendmail:charset>
>
> <sendmail:attachement>/path-to-file1-on-server/filename1.xxx;/path-to-file2-
> on-server/filename2.xxx</sendmail:attachement>
> </sendmail:send-mail>
>
> I testet with Win2000 jdk1.3.1 tomcat-4.0.4-dev2 cocoon-2.1-dev
>
> I hope it will help
Cool! Great work!
Three whishes, though: 1) could you please use " diff -u " to create
the patch against CVS HEAD. Otherwise review is really a lot more
difficult. 2) It would be great if one could specify the mime-type and
3) even greater would be if one could provide the attachment as string
/ byte array / stream.
Cheers,
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>