cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: Using internal paths for sendmail attachments
Date Fri, 16 Aug 2002 20:09:17 GMT
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message