Type
- Type of emailpublic interface EmailTemplate<Type extends Email> extends MessageTemplate<Type>
Template
that can be used to build Emails.MessageTemplate
Modifier and Type | Method and Description |
---|---|
java.nio.charset.Charset |
getCharSet() |
InternetAddress |
getFrom() |
java.lang.String |
getSubject() |
java.lang.String |
getText() |
void |
setCharSet(java.nio.charset.Charset charSet) |
void |
setFrom(InternetAddress from) |
void |
setSubject(java.lang.String subject) |
void |
setText(java.lang.String text) |
buildMessage, dispose, getType, put
void setText(java.lang.String text)
text
- to set as body of this messagejava.lang.String getText()
void setSubject(java.lang.String subject)
subject
- to be used for the emailjava.lang.String getSubject()
void setFrom(InternetAddress from) throws AddressException
from
- and Address to be used as fromAddressException
- in case the address is in invalid formatInternetAddress getFrom()
void setCharSet(java.nio.charset.Charset charSet)
charSet
- to use for sendingjava.nio.charset.Charset getCharSet()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"