You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter Sparkes <pe...@didm.co.uk> on 2008/03/29 08:23:32 UTC

Sendmail using Flow - Attachments

Hi,

I am successfully sending email using Flow. However, I want to attach a 
html document to it that is generated via a sitemap and I can't get that 
to work.

Please how do I attach a document that is generated by a sitemap

Peter Sparkes

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: Sendmail using Flow - Attachments

Posted by Jasha Joachimsthal <j....@onehippo.com>.
You have 3 slashes in your uri (cocoon:///). Try removing one :)

Jasha Joachimsthal 

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646

 

> -----Original Message-----
> From: Peter Sparkes [mailto:peter@didm.co.uk] 
> Sent: zaterdag 29 maart 2008 9:10
> To: users@cocoon.apache.org
> Subject: Re: Sendmail using Flow - Attachments
> 
> More info
> 
> I am trying to attach a document generated by the pipeline 
> statsOffice in a sitemap in the directory stats
> 
> When using
> 
> mms.addAttachmentURL("cocoon:///stats/statsOffice");
> 
> I Get the following error
> 
> java.lang.RuntimeException: The current URI 
> (/stats/statsOffice) doesn't start with given prefix (stats)
> 
> Peter
> > Hi,
> >
> > I am successfully sending email using Flow. However, I want 
> to attach 
> > a html document to it that is generated via a sitemap and I 
> can't get 
> > that to work.
> >
> > Please how do I attach a document that is generated by a sitemap
> >
> > Peter Sparkes
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Sendmail using Flow - Attachments

Posted by Peter Sparkes <pe...@didm.co.uk>.
More info

I am trying to attach a document generated by the pipeline statsOffice 
in a sitemap in the directory stats

When using

mms.addAttachmentURL("cocoon:///stats/statsOffice");

I Get the following error

java.lang.RuntimeException: The current URI (/stats/statsOffice) doesn't 
start with given prefix (stats)

Peter
> Hi,
>
> I am successfully sending email using Flow. However, I want to attach 
> a html document to it that is generated via a sitemap and I can't get 
> that to work.
>
> Please how do I attach a document that is generated by a sitemap
>
> Peter Sparkes
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org