public class EmailMessage
extends java.lang.Object
Constructor and Description |
---|
EmailMessage(java.lang.String content,
java.lang.String mimeType)
Uses UTF-8 email content by default (as per
JoddCore.encoding . |
EmailMessage(java.lang.String content,
java.lang.String mimeType,
java.lang.String encoding)
Defines email content.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Returns message content.
|
java.lang.String |
getEncoding()
Returns message encoding.
|
java.lang.String |
getMimeType()
Returns message mime type.
|
public EmailMessage(java.lang.String content, java.lang.String mimeType, java.lang.String encoding)
content
- The content as a String
.mimeType
- The MIME type as a as a String
.encoding
- The encoding as a String
.public EmailMessage(java.lang.String content, java.lang.String mimeType)
JoddCore.encoding
.content
- The content as a String
.mimeType
- The MIME type as a as a String
.public java.lang.String getContent()
String
containing the message content.public java.lang.String getMimeType()
String
containing the message mime type.public java.lang.String getEncoding()
String
containing the message encoding.Copyright © 2003-present Jodd Team