[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-dev
Subject:    Re: legacy.js and sendmail action (smallish rant)
From:       Christian Haul <haul () dvs1 ! informatik ! tu-darmstadt ! de>
Date:       2003-08-21 13:16:20
[Download RAW message or body]

On 21.Aug.2003 -- 02:50 PM, Steven Noels wrote:
> Hi peeps,
> 
> Other than hacking too much infrastructural stuff into my little 
> flowapp, I wanted to reuse the SendMail Action from my script. It seems 
> however that this would require legacy.js to be finished. So I went to 
> check whether the existing SendMail class was already Avalonified in 
> order to be able to easily call it from my script, but that was not the 
> case. So I guess I'll have to walk the merry road of loading JavaMail 
> classes in my script and hack my way around it.

Hi Steven,

so much for me being the only one who was interested in makeing calls
to actions from flow easy :-(

Anyway, although not Avalonized have a look at
o.a.c.mail.MailMessageSender, the class that does the real work for
the SendmailAction. Should be easier to use than plain
javamail. Another solution would be to send the mail in an XSP..... 

> Anyway, just a FYI. ;)

	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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic