You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paul Pattison <pa...@76design.com> on 2002/08/18 17:58:38 UTC
Internal references for sendmail
I'm writing a small web app that sends users an email with either an HTML or
PDF attachment. This attachment is generated by Cocoon. I've been using
the sendmail logicsheet to send the email, but it requires an absolute path
to the attachment. Since my attachment is generated by Cocoon, I would like
to use an internal reference like cocoon:/somefile.html. Is this possible?
I'm willing to work on this, but haven't developed anything with Cocoon yet.
Does anyone have any tips or clues for me?
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Internal references for sendmail
Posted by Themba Mbatha <th...@discoveryhealth.co.za>.
A while back I had a similar requirement, except that I wanted to send a
multipart message. In order to use cocoon's internal capabilities I had
to write an Action that read the pipeline from the descriptor.
I would suggest you write a simple mailer action for this.
On Sun, 2002-08-18 at 17:58, Paul Pattison wrote:
> I'm writing a small web app that sends users an email with either an HTML or
> PDF attachment. This attachment is generated by Cocoon. I've been using
> the sendmail logicsheet to send the email, but it requires an absolute path
> to the attachment. Since my attachment is generated by Cocoon, I would like
> to use an internal reference like cocoon:/somefile.html. Is this possible?
> I'm willing to work on this, but haven't developed anything with Cocoon yet.
> Does anyone have any tips or clues for me?
>
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>