|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.jelly.tags.email.EmailTag
Basic tag for sending an email. Supports one attachment, multiple to addresses delimited by ";", multiple cc addresses, etc.
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
EmailTag()
|
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
Execute the tag |
void |
setAttach(java.io.File attachment)
Set the email attachment for the message. |
void |
setCC(org.apache.commons.jelly.expression.Expression cc)
";" seperated list of people to cc |
void |
setEncodeXML(boolean encodeXML)
Sets whether we should encode the XML body as text or not. |
void |
setFrom(org.apache.commons.jelly.expression.Expression from)
Set the from address for the message |
void |
setMessage(org.apache.commons.jelly.expression.Expression message)
Set the message body. |
void |
setServer(org.apache.commons.jelly.expression.Expression server)
Set the smtp server for the message. |
void |
setSubject(org.apache.commons.jelly.expression.Expression subject)
Set the email subject |
void |
setTo(org.apache.commons.jelly.expression.Expression to)
";" seperated list of people to send to |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmailTag()
Method Detail |
public void setServer(org.apache.commons.jelly.expression.Expression server)
public void setFrom(org.apache.commons.jelly.expression.Expression from)
public void setTo(org.apache.commons.jelly.expression.Expression to)
public void setCC(org.apache.commons.jelly.expression.Expression cc)
public void setSubject(org.apache.commons.jelly.expression.Expression subject)
public void setMessage(org.apache.commons.jelly.expression.Expression message)
public void setAttach(java.io.File attachment) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public void setEncodeXML(boolean encodeXML)
public void doTag(org.apache.commons.jelly.XMLOutput xmlOutput) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |