cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yatin Shah <nos...@kripa.com>
Subject sendmail action
Date Sat, 17 May 2003 01:08:53 GMT
If I define:
    <map:action name="sendmail" 
                logger="sitemap.action.sendmail"
                src="org.apache.cocoon.acting.Sendmail"/>
in my sub sitemap(in the actions section) and then use it 
within the sub sitmap it works fine.

However, if I use it from within a flow script as
[act('sendmail', '', {smtphost:"jasmine", from:"sender@co.com", to:"target@co.com", subject:"sub",
body:"body"});]
then the ActionSelector does not find the sendmail action.

If the definition is moved up to the root sitemap
then the ActionSelector finds it without any problem.

Is this normal?

Also, a reminder for those who may be using sendmail:
Don't forget to include following in your WEB-INF/lib:
1. JavaBeans Activation Framework
   activation.jar
2. Javamail
   imap.jar  mailapi.jar  pop3.jar  smtp.jar

-Yatin





-- 
Yatin Shah, President                       mailto:ygs@kripa.com
Kripa Inc.                                  http://www.kripa.com
Dayton, New Jersey USA                      phone:  732.329.8303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Developers of real time event driven distributed DB applications


Mime
View raw message