public class MultipartMailData extends TextMailData
| Modifier and Type | Field and Description |
|---|---|
protected List<org.apache.commons.lang3.tuple.ImmutablePair<String,String>> |
bodyparts |
protected List<File> |
files |
bcc, body, bodyMimeType, cc, from, reply, sendSeparateMails, subject, toADDRESS_SPLITTER| Constructor and Description |
|---|
MultipartMailData(String subject,
String body,
String bodyMime,
javax.mail.Address from,
javax.mail.Address[] reply,
javax.mail.Address[] to,
File... attFiles) |
MultipartMailData(String subject,
String body,
String bodyMime,
javax.mail.Address from,
javax.mail.Address[] reply,
javax.mail.Address[] to,
URL... attFiles) |
MultipartMailData(String subject,
String body,
String bodyMime,
String from,
String to,
DataSource... attFiles)
Deprecated.
use
MultipartMailData(String, String, String, String, String, File...) or
MultipartMailData(String, String, String, String, String, URL...). DataSources will be ignored! |
MultipartMailData(String subject,
String body,
String bodyMime,
String from,
String to,
File... attFiles) |
MultipartMailData(String subject,
String body,
String bodyMime,
String from,
String senderName,
String to,
File... attFiles) |
MultipartMailData(String subject,
String body,
String bodyMime,
String from,
String senderName,
String to,
URL... attFiles) |
MultipartMailData(String subject,
String body,
String bodyMime,
String from,
String to,
URL... attFiles) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(String content,
String mimeType) |
void |
addFile(File... file) |
javax.mail.internet.MimeMessage |
buildMimeMessage(javax.mail.Session session) |
DataSource[] |
getDataSources()
Deprecated.
use
getFiles() |
List<File> |
getFiles() |
createMimeMessage, getAddressesByString, getBcc, getBody, getBodyHandler, getBodyHandler, getBodyMimeType, getCc, getFrom, getReply, getSendSeparateMails, getSubject, getTo, setBcc, setBcc, setCc, setCc, setSendSeparateMailsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMimeMessagepublic MultipartMailData(String subject, String body, String bodyMime, String from, String to, File... attFiles) throws Exception
Exceptionpublic MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, File... attFiles) throws Exception
Exceptionpublic MultipartMailData(String subject, String body, String bodyMime, javax.mail.Address from, javax.mail.Address[] reply, javax.mail.Address[] to, File... attFiles)
public MultipartMailData(String subject, String body, String bodyMime, String from, String to, URL... attFiles) throws Exception
Exceptionpublic MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, URL... attFiles) throws Exception
Exceptionpublic MultipartMailData(String subject, String body, String bodyMime, javax.mail.Address from, javax.mail.Address[] reply, javax.mail.Address[] to, URL... attFiles) throws Exception
Exception@Deprecated public MultipartMailData(String subject, String body, String bodyMime, String from, String to, DataSource... attFiles) throws Exception
MultipartMailData(String, String, String, String, String, File...) or
MultipartMailData(String, String, String, String, String, URL...). DataSources will be ignored!Exception@Deprecated public DataSource[] getDataSources()
getFiles()public void addFile(File... file)
public javax.mail.internet.MimeMessage buildMimeMessage(javax.mail.Session session)
throws Exception
buildMimeMessage in interface IBaseMailDatabuildMimeMessage in class TextMailDataExceptionCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.