Package de.xima.fc.interfaces.mail
Interface IBaseMailData
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IMailData
- All Known Implementing Classes:
MultipartMail
,MultipartMailData
,SimpleTextMail
,TextMailData
public interface IBaseMailData extends Serializable
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADDRESS_SPLITTER
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default javax.mail.internet.MimeMessage
buildMimeMessage(javax.mail.Session session)
Deprecated.default javax.mail.internet.MimePart[]
buildMimeParts(javax.mail.Session session)
Deprecated.javax.mail.Address[]
getBcc()
List<BodyPartData>
getBodyParts()
javax.mail.Address[]
getCc()
EMailEncrpytionType
getEncryptionType()
List<FilePartData>
getFileParts()
javax.mail.Address
getFrom()
Map<String,String>
getHeaders()
default javax.mail.internet.MimeMessage
getMimeMessage(javax.mail.Session session)
Deprecated.javax.mail.Address[]
getReply()
boolean
getSendSeparateMails()
Flag to indicate that mails should be send separately to the to-recipient.String
getSubject()
javax.mail.Address[]
getTo()
-
-
-
Field Detail
-
ADDRESS_SPLITTER
static final String ADDRESS_SPLITTER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEncryptionType
EMailEncrpytionType getEncryptionType()
-
getFrom
javax.mail.Address getFrom()
- Returns:
- the from
-
getTo
javax.mail.Address[] getTo()
- Returns:
- the to
-
getCc
javax.mail.Address[] getCc()
- Returns:
- the cc
-
getBcc
javax.mail.Address[] getBcc()
- Returns:
- the bcc
-
getReply
javax.mail.Address[] getReply()
- Returns:
- the reply
-
getSubject
String getSubject()
-
getBodyParts
List<BodyPartData> getBodyParts()
-
getFileParts
List<FilePartData> getFileParts()
-
getSendSeparateMails
boolean getSendSeparateMails()
Flag to indicate that mails should be send separately to the to-recipient. Cc- and Bcc-recipients will be ignored because its not clear how to handle them- Returns:
true
if mails should be separately,false
otherwise
-
buildMimeParts
@Deprecated default javax.mail.internet.MimePart[] buildMimeParts(javax.mail.Session session) throws Exception
Deprecated.- Throws:
Exception
-
buildMimeMessage
@Deprecated default javax.mail.internet.MimeMessage buildMimeMessage(javax.mail.Session session) throws Exception
Deprecated.- Throws:
Exception
-
getMimeMessage
@Deprecated default javax.mail.internet.MimeMessage getMimeMessage(javax.mail.Session session) throws Exception
Deprecated.- Throws:
Exception
-
-