public class TextMailData extends Object implements IBaseMailData
| Modifier and Type | Field and Description |
|---|---|
protected String |
body |
protected String |
bodyMimeType |
protected javax.mail.Address |
from |
protected javax.mail.Address[] |
reply |
protected String |
subject |
protected javax.mail.Address[] |
to |
| Constructor and Description |
|---|
TextMailData(String subject,
String body,
String bodyMimeType,
javax.mail.Address from,
javax.mail.Address[] reply,
javax.mail.Address[] to) |
TextMailData(String subject,
String body,
String bodyMimeType,
String from,
String to) |
TextMailData(String subject,
String body,
String bodyMimeType,
String from,
String senderName,
String to) |
| Modifier and Type | Method and Description |
|---|---|
javax.mail.internet.MimeMessage |
buildMimeMessage(javax.mail.Session session) |
protected javax.mail.internet.MimeMessage |
createMimeMessage(javax.mail.Session session) |
String |
getBody() |
protected DataHandler |
getBodyHandler() |
String |
getBodyMimeType() |
javax.mail.Address |
getFrom() |
javax.mail.Address[] |
getReply() |
String |
getSubject() |
javax.mail.Address[] |
getTo() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMimeMessageprotected final String subject
protected final String body
protected final String bodyMimeType
protected final javax.mail.Address[] to
protected final javax.mail.Address[] reply
protected final javax.mail.Address from
public TextMailData(String subject, String body, String bodyMimeType, String from, String to) throws Exception
Exceptionpublic TextMailData(String subject, String body, String bodyMimeType, String from, String senderName, String to) throws Exception
Exceptionpublic String getSubject()
public String getBody()
public String getBodyMimeType()
public javax.mail.Address getFrom()
getFrom in interface IBaseMailDatapublic javax.mail.Address[] getReply()
getReply in interface IBaseMailDatapublic javax.mail.Address[] getTo()
getTo in interface IBaseMailDatapublic javax.mail.internet.MimeMessage buildMimeMessage(javax.mail.Session session)
throws Exception
buildMimeMessage in interface IBaseMailDataExceptionprotected javax.mail.internet.MimeMessage createMimeMessage(javax.mail.Session session)
throws Exception
Exceptionprotected DataHandler getBodyHandler() throws Exception
ExceptionCopyright © 2019 XIMA MEDIA GmbH. All rights reserved.