This project has retired. For details please refer to its
Attic page.
SendmailAction (Cocoon Mail Block Implementation 1.0.0 API)
org.apache.cocoon.acting
Class SendmailAction
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.apache.cocoon.acting.ServiceableAction
org.apache.cocoon.acting.Sendmail
org.apache.cocoon.acting.SendmailAction
- All Implemented Interfaces:
- org.apache.cocoon.acting.Action, Configurable, Serviceable, ThreadSafe
Deprecated. Please use the Sendmail
action instead.
- public class SendmailAction
- extends Sendmail
The SendmailAction
class sends email. Please use the Sendmail
action instead.
The action needs four parameters:
- from
- the email address the mail appears to be from
- to
- the email address(es) the mail it sent to
- replyTo
- the email address(es) replies should be sent to
- subject
- the subject of the email
- body
- the body of the email
Action attempts to get all of these parameters from the sitemap, but
if they do not exist there it will read them from the request parameters.
It also supports all of the Sendmail
action sitemap parameters
- Version:
- $Id: SendmailAction.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from class org.apache.cocoon.acting.ServiceableAction |
manager |
Fields inherited from class org.apache.cocoon.acting.AbstractAction |
EMPTY_MAP |
Fields inherited from interface org.apache.cocoon.acting.Action |
ROLE |
Method Summary |
Map |
act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters)
Deprecated. |
Methods inherited from class org.apache.cocoon.acting.ServiceableAction |
service |
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SendmailAction
public SendmailAction()
- Deprecated.
act
public Map act(org.apache.cocoon.environment.Redirector redirector,
org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters)
throws Exception
- Deprecated.
- Specified by:
act
in interface org.apache.cocoon.acting.Action
- Overrides:
act
in class Sendmail
- Throws:
Exception
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.