public class MultipartMailData extends TextMailData
Modifier and Type | Field and Description |
---|---|
protected List<File> |
files |
bcc, body, bodyMimeType, cc, from, reply, sendSeparateMails, subject, to
ADDRESS_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 |
---|---|
javax.mail.internet.MimeMessage |
buildMimeMessage(javax.mail.Session session) |
DataSource[] |
getDataSources()
Deprecated.
use
getFiles() |
List<File> |
getFiles() |
createMimeMessage, getAddressesByString, getBcc, getBody, getBodyHandler, getBodyMimeType, getCc, getFrom, getReply, getSendSeparateMails, getSubject, getTo, setBcc, setBcc, setCc, setCc, setSendSeparateMails
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMimeMessage
public MultipartMailData(String subject, String body, String bodyMime, String from, String to, File... attFiles) throws Exception
Exception
public MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, File... attFiles) throws Exception
Exception
public 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
Exception
public MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, URL... attFiles) throws Exception
Exception
public 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 javax.mail.internet.MimeMessage buildMimeMessage(javax.mail.Session session) throws Exception
buildMimeMessage
in interface IBaseMailData
buildMimeMessage
in class TextMailData
Exception
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.