Paul Pattison wrote:

>Hi everyone,
>
>I'm working on a web app where I'd like to have a page send an email 
>to someone and attach a file to the email.  The attachment would 
>actually be an html or pdf document generated by Cocoon.
>
>Right now the 'sendmail' logicsheet allows attachments, but the filename 
>

Can't find this functionality in sendmail.xsl.


>is an absolute path to the file.  I would like to have it so that 
>the path I give the attachment is acutally an internal cocoon:// 
>path.  I've looked at the sendmail.xls logicsheet, but have not been 
>able to figure out how I would implement this.  Is what I describe 
>possible?  I am willing to work on it, but I was wondering if anyone 
>had any tips or clues about how I would do this and where I should 
>start.  Any advice is welcome.
>

Look into the recently modified util logicsheet to see how resolver is 
used. If you use resolver, you can process any kind of URIs, relative 
and absolute, and it works with all protocols.

Vadim


>Thanks,
>
>Paul
>  
>




---------------------------------------------------------------------
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]>

Reply via email to