Package de.xima.fc.mail.impl
Class SentMailData
- java.lang.Object
-
- de.xima.fc.mail.impl.SentMailData
-
- All Implemented Interfaces:
ISentMailData
public final class SentMailData extends Object implements ISentMailData
Default POJO implementation of ISentMailData.- Since:
- 8.0.4
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getBcc()
Gets the final resolved BCC address of the mail which was sent.List<String>
getCc()
Gets the final resolved CC address of the mail which was sent.String
getSubject()
Gets the final resolved subject of the mail which was sent.List<String>
getTo()
Gets the final resolved TO address of the mail which was sent.static ISentMailData
ofMimeMessage(javax.mail.internet.MimeMessage msg)
Creates a aSentMailData
POJO with the data from the given mail mime message.
-
-
-
Method Detail
-
getBcc
public List<String> getBcc()
Description copied from interface:ISentMailData
Gets the final resolved BCC address of the mail which was sent.- Specified by:
getBcc
in interfaceISentMailData
- Returns:
- The mail's subject.
-
getCc
public List<String> getCc()
Description copied from interface:ISentMailData
Gets the final resolved CC address of the mail which was sent.- Specified by:
getCc
in interfaceISentMailData
- Returns:
- The mail's subject.
-
getSubject
public String getSubject()
Description copied from interface:ISentMailData
Gets the final resolved subject of the mail which was sent.- Specified by:
getSubject
in interfaceISentMailData
- Returns:
- The mail's subject.
-
getTo
public List<String> getTo()
Description copied from interface:ISentMailData
Gets the final resolved TO address of the mail which was sent.- Specified by:
getTo
in interfaceISentMailData
- Returns:
- The mail's subject.
-
ofMimeMessage
public static ISentMailData ofMimeMessage(javax.mail.internet.MimeMessage msg)
Creates a aSentMailData
POJO with the data from the given mail mime message.- Parameters:
msg
- Mime message with the mail data.- Returns:
- A new POJO with the data from the mime message.
-
-