Class MultipartMailData
java.lang.Object
de.xima.fc.mdl.mail.TextMailData
de.xima.fc.mdl.mail.MultipartMailData
- All Implemented Interfaces:
IBaseMailData, Serializable
- Direct Known Subclasses:
MultipartMail
Text email data with attached Files
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsFields inherited from class TextMailData
bcc, bodyParts, cc, from, headers, reply, securityConfig, sendSeparateMails, subject, toFields inherited from interface IBaseMailData
ADDRESS_SPLITTER -
Constructor Summary
ConstructorsConstructorDescriptionMultipartMailData(String subject, String body, String bodyMime, String from, String to, File... attFiles) Deprecated.MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, EMailEncrpytionType encryptionType, File... attFiles) Deprecated.UseMailDataBuilder.newInstance()instead.MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, File... attFiles) Deprecated.UseMailDataBuilder.newInstance()instead.MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, URL... attFiles) Deprecated.UseMailDataBuilder.newInstance()instead.MultipartMailData(String subject, String body, String bodyMime, String from, String to, URL... attFiles) Deprecated.UseMailDataBuilder.newInstance()instead.MultipartMailData(String subject, String body, String bodyMime, String from, String to, javax.activation.DataSource... attFiles) MultipartMailData(String subject, String body, String bodyMime, String from, javax.mail.Address[] reply, String senderName, String to, EMailEncrpytionType encryptionType, File... attFiles) Deprecated.UseMailDataBuilder.newInstance()instead.MultipartMailData(String subject, String body, String bodyMime, javax.mail.Address from, javax.mail.Address[] reply, javax.mail.Address[] to, File... attFiles) Deprecated.UseMailDataBuilder.newInstance()instead.MultipartMailData(String subject, String body, String bodyMime, javax.mail.Address from, javax.mail.Address[] reply, javax.mail.Address[] to, URL... attFiles) Deprecated.UseMailDataBuilder.newInstance()instead. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.UseMailDataBuilder.addBodyPart(String, String)instead.voidDeprecated.UseMailDataBuilder.addFile(File)instead.voidDeprecated.UseMailDataBuilder.addFileByUrl(URL)instead.voidaddFilePart(IFileData fileData) Deprecated.UseMailDataBuilder.addFilePart(FilePartData)instead.voidaddFilePart(File file) Deprecated.UseMailDataBuilder.addFilePart(FilePartData)instead.voidaddFilePart(URL url) Deprecated.UseMailDataBuilder.addFilePart(FilePartData)instead.getFiles()Deprecated.Methods inherited from class TextMailData
getAddressesByString, getBcc, getBody, getBodyMimeType, getBodyParts, getCc, getEncryptionType, getFrom, getHeaders, getReply, getSecurityConfig, getSendSeparateMails, getSubject, getTo, setBcc, setBcc, setCc, setCc, setEncryptionType, setSendSeparateMailsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IBaseMailData
buildMimeMessage, buildMimeParts, getMimeMessage
-
Field Details
-
fileParts
-
-
Constructor Details
-
MultipartMailData
@Deprecated public MultipartMailData(String subject, String body, String bodyMime, String from, String to, File... attFiles) throws Exception Deprecated.UseMailDataBuilder.newInstance()instead.- Throws:
Exception
-
MultipartMailData
-
MultipartMailData
@Deprecated public MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, EMailEncrpytionType encryptionType, File... attFiles) throws Exception Deprecated.UseMailDataBuilder.newInstance()instead.- Throws:
Exception
-
MultipartMailData
@Deprecated public MultipartMailData(String subject, String body, String bodyMime, String from, javax.mail.Address[] reply, String senderName, String to, EMailEncrpytionType encryptionType, File... attFiles) throws Exception Deprecated.UseMailDataBuilder.newInstance()instead.- Throws:
Exception
-
MultipartMailData
@Deprecated public MultipartMailData(String subject, String body, String bodyMime, javax.mail.Address from, javax.mail.Address[] reply, javax.mail.Address[] to, File... attFiles) throws IOException Deprecated.UseMailDataBuilder.newInstance()instead.- Throws:
IOException
-
MultipartMailData
@Deprecated public MultipartMailData(String subject, String body, String bodyMime, String from, String to, URL... attFiles) throws Exception Deprecated.UseMailDataBuilder.newInstance()instead.- Throws:
Exception
-
MultipartMailData
-
MultipartMailData
@Deprecated public MultipartMailData(String subject, String body, String bodyMime, javax.mail.Address from, javax.mail.Address[] reply, javax.mail.Address[] to, URL... attFiles) throws Exception Deprecated.UseMailDataBuilder.newInstance()instead.- Throws:
Exception
-
MultipartMailData
@Deprecated public MultipartMailData(String subject, String body, String bodyMime, String from, String to, javax.activation.DataSource... attFiles) throws Exception Deprecated.useMultipartMailData(String, String, String, String, String, File...)orMultipartMailData(String, String, String, String, String, URL...). DataSources will be ignored!- Throws:
Exception
-
-
Method Details
-
addBody
Deprecated.UseMailDataBuilder.addBodyPart(String, String)instead. -
addFile
Deprecated.UseMailDataBuilder.addFileByUrl(URL)instead.- Throws:
IOExceptionURISyntaxException
-
addFile
Deprecated.UseMailDataBuilder.addFile(File)instead.- Throws:
IOException
-
addFilePart
Deprecated.UseMailDataBuilder.addFilePart(FilePartData)instead.- Throws:
URISyntaxExceptionIOException
-
addFilePart
Deprecated.UseMailDataBuilder.addFilePart(FilePartData)instead.- Throws:
IOException
-
addFilePart
Deprecated.UseMailDataBuilder.addFilePart(FilePartData)instead. -
getFileParts
- Specified by:
getFilePartsin interfaceIBaseMailData- Overrides:
getFilePartsin classTextMailData
-
getFiles
Deprecated.
-
MailDataBuilder.newInstance()instead.