Package org.mycore.common
Class MCRMailer.EMail
java.lang.Object
org.mycore.common.MCRMailer.EMail
- Enclosing class:
- MCRMailer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the HTML message part.Returns the text message part.static MCRMailer.EMail
Parse a email from givenElement
.toString()
toXML()
Returns theMCRMailer.EMail
as XML.
-
Field Details
-
from
-
replyTo
-
to
-
bcc
-
subject
-
msgParts
-
parts
-
-
Constructor Details
-
EMail
public EMail()
-
-
Method Details
-
parseXML
Parse a email from givenElement
.- Parameters:
xml
- the email- Returns:
- the
MCRMailer.EMail
object
-
getTextMessage
Returns the text message part.- Returns:
- the text message part
-
getHTMLMessage
Returns the HTML message part.- Returns:
- the HTML message part
-
toXML
Returns theMCRMailer.EMail
as XML.- Returns:
- the XML
-
toString
-