|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.ext.tag.TagImpl
railo.runtime.ext.tag.BodyTagImpl
railo.runtime.tag.Mail
public final class Mail
Sends e-mail messages by an SMTP server.
Field Summary |
---|
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
Mail()
|
Method Summary | |
---|---|
void |
addPart(MailPart part)
|
int |
doAfterBody()
|
int |
doEndTag()
|
void |
doInitBody()
|
int |
doStartTag()
|
String |
getCharset()
|
void |
release()
|
void |
setBcc(Object bcc)
set the value bcc Indicates addresses to copy the e-mail message to, without listing them in the message header. |
void |
setCc(Object cc)
set the value cc Indicates addresses to copy the e-mail message to; "cc" stands for "carbon copy." |
void |
setCharset(String charset)
|
void |
setFailto(Object failto)
|
void |
setFrom(Object from)
set the value from The sender of the e-mail message. |
void |
setGroup(String group)
set the value group Specifies the query column to use when you group sets of records together to send as an e-mail message. |
void |
setGroupcasesensitive(boolean groupcasesensitive)
set the value groupcasesensitive Boolean indicating whether to group with regard to case or not. |
void |
setMailerid(String mailerid)
set the value mailerid |
void |
setMaxrows(double maxrows)
set the value maxrows Specifies the maximum number of e-mail messages to send. |
void |
setMimeattach(String strMimeattach)
|
void |
setMimeattach(String strMimeattach,
String type,
String disposition,
String contentID,
boolean removeAfterSend)
set the value mimeattach Specifies the path of the file to be attached to the e-mail message. |
void |
setParam(String type,
String file,
String name,
String value,
String disposition,
String contentID,
Boolean oRemoveAfterSend)
sets a mail param |
void |
setPassword(String password)
|
void |
setPort(double port)
set the value port The TCP/IP port on which the SMTP server listens for requests. |
void |
setPriority(String strPriority)
|
void |
setProxypassword(String proxypassword)
set the value password When required by a proxy server, a valid password. |
void |
setProxyport(double proxyport)
set the value proxyport The port number on the proxy server from which the object is requested. |
void |
setProxyserver(String proxyserver)
|
void |
setProxyuser(String proxyuser)
set the value username When required by a proxy server, a valid username. |
void |
setQuery(String query)
set the value query The name of the cfquery from which to draw data for message(s) to send. |
void |
setRemove(boolean remove)
|
void |
setReplyto(Object replyto)
|
void |
setSecure(boolean ssl)
|
void |
setServer(String strServer)
set the value server |
void |
setSpoolenable(boolean spoolenable)
|
void |
setSsl(boolean ssl)
|
void |
setStartrow(double startrow)
set the value startrow Specifies the row in the query to start from. |
void |
setStarttls(boolean tls)
|
void |
setSubject(String subject)
set the value subject The subject of the mail message. |
void |
setTimeout(double timeout)
set the value timeout The number of seconds to wait before timing out the connection to the SMTP server. |
void |
setTls(boolean tls)
|
void |
setTo(Object to)
set the value to The name of the e-mail message recipient. |
void |
setType(String type)
set the value type Specifies extended type attributes for the message. |
void |
setUsername(String username)
|
void |
setUsessl(boolean ssl)
|
void |
setUsetls(boolean tls)
|
void |
setWraptext(double wraptext)
|
Methods inherited from class railo.runtime.ext.tag.BodyTagImpl |
---|
setBodyContent |
Methods inherited from class railo.runtime.ext.tag.TagImpl |
---|
getParent, required, required, required, required, setPageContext, setPageContext, setParent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Constructor Detail |
---|
public Mail()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class BodyTagImpl
public void setRemove(boolean remove)
remove
- the remove to setpublic void setProxyserver(String proxyserver) throws ApplicationException
proxyserver
- The proxyserver to set.
ApplicationException
public void setProxyport(double proxyport) throws ApplicationException
proxyport
- value to set
ApplicationException
public void setProxyuser(String proxyuser) throws ApplicationException
proxyuser
- value to set
ApplicationException
public void setProxypassword(String proxypassword) throws ApplicationException
proxypassword
- value to set
ApplicationException
public void setFrom(Object from) throws PageException
strForm
- value to set
PageException
public void setTo(Object to) throws ApplicationException
strTo
- value to set
ApplicationException
public void setCc(Object cc) throws ApplicationException
strCc
- value to set
ApplicationException
public void setBcc(Object bcc) throws ApplicationException
strBcc
- value to set
ApplicationException
public void setFailto(Object failto) throws ApplicationException
strFailto
- The failto to set.
ApplicationException
public void setReplyto(Object replyto) throws ApplicationException
strReplyto
- The replyto to set.
ApplicationException
public void setType(String type) throws ApplicationException
type
- value to set
ApplicationException
public void setSubject(String subject)
subject
- value to setpublic void setUsername(String username)
username
- The username to set.public void setPassword(String password)
password
- The password to set.public void setMimeattach(String strMimeattach, String type, String disposition, String contentID, boolean removeAfterSend) throws PageException
strMimeattach
- value to settype
- mimetype of the filecontentID
- disposition
-
PageException
public void setMimeattach(String strMimeattach) throws PageException
PageException
public void setSpoolenable(boolean spoolenable)
spoolenable
- The spoolenable to set.public void setServer(String strServer) throws PageException
strServer
- value to set
PageException
public void setMailerid(String mailerid)
mailerid
- value to setpublic void setPort(double port)
port
- value to setpublic void setWraptext(double wraptext)
wraptext
- The wraptext to set.public void setTimeout(double timeout)
timeout
- value to setpublic void setCharset(String charset)
charset
- The charset to set.public void setGroup(String group)
group
- value to setpublic void setGroupcasesensitive(boolean groupcasesensitive)
groupcasesensitive
- value to setpublic void setQuery(String query)
query
- value to setpublic void setMaxrows(double maxrows)
maxrows
- value to setpublic void setTls(boolean tls)
public void setUsetls(boolean tls)
public void setStarttls(boolean tls)
public void setSsl(boolean ssl)
public void setUsessl(boolean ssl)
public void setSecure(boolean ssl)
public void setPriority(String strPriority) throws ExpressionException
ExpressionException
public void setStartrow(double startrow)
startrow
- value to setpublic void addPart(MailPart part)
part
- public int doStartTag() throws ApplicationException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
ApplicationException
public void doInitBody()
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
doInitBody
in class BodyTagImpl
public int doAfterBody()
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class BodyTagImpl
public int doEndTag() throws PageException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagImpl
PageException
public void setParam(String type, String file, String name, String value, String disposition, String contentID, Boolean oRemoveAfterSend) throws PageException
type
- file
- name
- value
- contentID
- disposition
-
PageException
public String getCharset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |