cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: flow - sendmailaction - content
Date Wed, 28 May 2003 12:15:22 GMT
On 28.May.2003 -- 01:37 PM, Frank Taffelt wrote:
> > In 2.1 you can pass a URLs to the action from which it obtains
> > attachments, eg cocoon://create_my_mail .
> 
> Yes i tried this and it works. But i won't use attachements. It would be
> nice, if the body (usually plaintext or html) could be treated the same way.
> Do you have a hint ?

Look at 

src/blocks/mail/java/org/apache/cocoon/acting/Sendmail.java
src/blocks/mail/java/org/apache/cocoon/mail/MailMessageSender.java

the first is really only a wrapper for the latter and feeds sitemap
parameters to the MailMessageSender.

OTOH why is it a problem to send a mail with attachments but no body?

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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