Package de.xima.fc.mdl.mail
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
public class MultipartMailData extends TextMailData
Text email data with attached Files- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<FilePartData>fileParts-
Fields inherited from class de.xima.fc.mdl.mail.TextMailData
bcc, bodyParts, cc, from, headers, reply, securityConfig, sendSeparateMails, subject, to
-
Fields inherited from interface de.xima.fc.interfaces.mail.IBaseMailData
ADDRESS_SPLITTER
-
-
Constructor Summary
Constructors Constructor Description MultipartMailData(String subject, String body, String bodyMime, String from, String to, File... attFiles)Deprecated.UseMailDataBuilder.newInstance()instead.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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddBody(String content, String mimeType)Deprecated.UseMailDataBuilder.addBodyPart(String, String)instead.voidaddFile(File... files)Deprecated.UseMailDataBuilder.addFile(File)instead.voidaddFile(URL... files)Deprecated.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.List<FilePartData>getFileParts()List<File>getFiles()Deprecated.-
Methods inherited from class de.xima.fc.mdl.mail.TextMailData
getAddressesByString, getBcc, getBody, getBodyMimeType, getBodyParts, getCc, getEncryptionType, getFrom, getHeaders, getReply, getSecurityConfig, getSendSeparateMails, getSubject, getTo, setBcc, setBcc, setCc, setCc, setEncryptionType, setSendSeparateMails
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.mail.IBaseMailData
buildMimeMessage, buildMimeParts, getMimeMessage
-
-
-
-
Field Detail
-
fileParts
protected final List<FilePartData> fileParts
-
-
Constructor Detail
-
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
@Deprecated public MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, File... attFiles) throws Exception
Deprecated.UseMailDataBuilder.newInstance()instead.- Throws:
Exception
-
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
@Deprecated public MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, URL... 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, 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 Detail
-
addBody
@Deprecated public void addBody(String content, String mimeType)
Deprecated.UseMailDataBuilder.addBodyPart(String, String)instead.
-
addFile
@Deprecated public void addFile(URL... files) throws IOException, URISyntaxException
Deprecated.UseMailDataBuilder.addFileByUrl(URL)instead.- Throws:
IOExceptionURISyntaxException
-
addFile
@Deprecated public void addFile(File... files) throws IOException
Deprecated.UseMailDataBuilder.addFile(File)instead.- Throws:
IOException
-
addFilePart
@Deprecated public void addFilePart(URL url) throws URISyntaxException, IOException
Deprecated.UseMailDataBuilder.addFilePart(FilePartData)instead.- Throws:
URISyntaxExceptionIOException
-
addFilePart
@Deprecated public void addFilePart(File file) throws IOException
Deprecated.UseMailDataBuilder.addFilePart(FilePartData)instead.- Throws:
IOException
-
addFilePart
@Deprecated public void addFilePart(IFileData fileData)
Deprecated.UseMailDataBuilder.addFilePart(FilePartData)instead.
-
getFileParts
public List<FilePartData> getFileParts()
- Specified by:
getFilePartsin interfaceIBaseMailData- Overrides:
getFilePartsin classTextMailData
-
getFiles
@Deprecated public List<File> getFiles()
Deprecated.
-
-