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
Text email data with attached Files
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
FieldsFields inherited from class de.xima.fc.mdl.mail.TextMailData
bcc, bodyParts, cc, encryptionType, forceEncryption, from, headers, reply, sendSeparateMails, subject, to
Fields inherited from interface de.xima.fc.interfaces.mail.IBaseMailData
ADDRESS_SPLITTER
-
Constructor Summary
ConstructorsConstructorDescriptionMultipartMailData
(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, EMailEncrpytionType encryptionType, 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) MultipartMailData
(String subject, String body, String bodyMime, String from, String to, javax.activation.DataSource... attFiles) Deprecated.MultipartMailData
(String subject, String body, String bodyMime, String from, javax.mail.Address[] reply, String senderName, String to, EMailEncrpytionType encryptionType, File... attFiles) 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) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
addFilePart
(File file) void
addFilePart
(URL url) getFiles()
Deprecated.Methods inherited from class de.xima.fc.mdl.mail.TextMailData
getAddressesByString, getBcc, getBody, getBodyMimeType, getBodyParts, getCc, getEncryptionType, getFrom, getHeaders, getReply, 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 Details
-
fileParts
-
-
Constructor Details
-
MultipartMailData
public MultipartMailData(String subject, String body, String bodyMime, String from, String to, File... attFiles) throws Exception - Throws:
Exception
-
MultipartMailData
public MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, File... attFiles) throws Exception - Throws:
Exception
-
MultipartMailData
public MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, EMailEncrpytionType encryptionType, File... attFiles) throws Exception - Throws:
Exception
-
MultipartMailData
public MultipartMailData(String subject, String body, String bodyMime, String from, javax.mail.Address[] reply, String senderName, String to, EMailEncrpytionType encryptionType, File... attFiles) throws Exception - Throws:
Exception
-
MultipartMailData
public MultipartMailData(String subject, String body, String bodyMime, javax.mail.Address from, javax.mail.Address[] reply, javax.mail.Address[] to, File... attFiles) throws IOException - Throws:
IOException
-
MultipartMailData
public MultipartMailData(String subject, String body, String bodyMime, String from, String to, URL... attFiles) throws Exception - Throws:
Exception
-
MultipartMailData
public MultipartMailData(String subject, String body, String bodyMime, String from, String senderName, String to, URL... attFiles) throws Exception - Throws:
Exception
-
MultipartMailData
public MultipartMailData(String subject, String body, String bodyMime, javax.mail.Address from, javax.mail.Address[] reply, javax.mail.Address[] to, URL... attFiles) throws Exception - 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
-
getFiles
Deprecated. -
addFile
- Throws:
IOException
-
addFile
- Throws:
IOException
URISyntaxException
-
addBody
-
addFilePart
- Throws:
URISyntaxException
IOException
-
addFilePart
- Throws:
IOException
-
getFileParts
- Specified by:
getFileParts
in interfaceIBaseMailData
- Overrides:
getFileParts
in classTextMailData
-
MultipartMailData(String, String, String, String, String, File...)
orMultipartMailData(String, String, String, String, String, URL...)
.