cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien DEHAY ...@zorel.org>
Subject Re: SendMail
Date Thu, 28 Apr 2005 11:00:58 GMT
Hello

suryanarayana.murthy@tcs.com wrote:
> 
> Hi Roberto,
> I am planning to use cocoon's sedmail action. In my email, I need to 
> send a zipoutputstream as an attachment.
> How can I do this?

With Sendmail transformer, like describe in 
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/mail/transformation/SendMailTransformer.html:

email:attachment

like:

<email:attachment name="hello2.html" mime-type="text/html" 
src="cocoon:/src1"/>

Then you just have to set the src to your sitemap pipeline generating 
your zip ouput.

> Could you please share your code?
> what is the difference between Sendmail Action, Sendmail Transformer.

I think none. TIMTOWTDI 
(http://www.google.fr/search?hl=fr&client=firefox-a&rls=org.mozilla:fr:official&q=TIMTOWTDI&spell=1)

> I am little bit confused.
> 
> Thanks & Regards,

Regards.

-- 
Aurélien

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


Mime
View raw message