public class MultipartMail extends SimpleTextMail
| Modifier and Type | Field and Description |
|---|---|
protected DataSource[] |
dataSources |
body, bodyMimeType, from, subject, to| Constructor and Description |
|---|
MultipartMail(String subject,
String body,
String bodyMime,
String from,
String to,
DataSource... attFiles) |
MultipartMail(String subject,
String body,
String bodyMime,
String from,
String to,
File... attFiles)
Multipart-Mail mit angehängten Dateien.
|
MultipartMail(String subject,
String body,
String bodyMime,
String from,
String to,
URL... attFiles)
Multipart-Mail mit angehängten Dateien.
|
| Modifier and Type | Method and Description |
|---|---|
protected javax.mail.internet.MimeMessage |
buildMessage(javax.mail.Session session) |
DataSource[] |
getDataSources() |
getBody, getBodyHandler, getBodyMimeType, getFrom, getMimeMessage, getSubject, getToprotected final DataSource[] dataSources
public MultipartMail(String subject, String body, String bodyMime, String from, String to, File... attFiles) throws Exception
Exceptionpublic MultipartMail(String subject, String body, String bodyMime, String from, String to, URL... attFiles) throws Exception
Exceptionpublic DataSource[] getDataSources()
protected javax.mail.internet.MimeMessage buildMessage(javax.mail.Session session)
throws Exception
buildMessage in class SimpleTextMailExceptionCopyright © 2017 XIMA MEDIA GmbH. All rights reserved.