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
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to