Interface IMailOutput
public interface IMailOutput
This interface represents the unprotected mail details.
-
Method Summary
Modifier and TypeMethodDescriptionGet the email addresses ofBCCrecipients.getBody()Get the email body details.Get the email addresses ofCCrecipients.The custom metadata information that is written in HTML wrapper template when mail body is wrapped
Example:Get theFROMemail address.Get the list of inline attachments.Get the email addresses ofREPLY Torecipients.Get the email sent time.Get the mail subject.Get the email addresses ofTOrecipients.booleanGet the flag which will indicate whether email has any regular attachments.
-
Method Details
-
getFromAddress
String getFromAddress()Get theFROMemail address.- Returns:
FROMemail address.
-
getToAddresses
Get the email addresses ofTOrecipients.- Returns:
- the email addresses of
TOrecipients.
-
getReplyToAddress
Get the email addresses ofREPLY Torecipients.- Returns:
- the email addresses of
REPLY Torecipients.
-
getCCAddresses
Get the email addresses ofCCrecipients.- Returns:
- the email addresses of
CCrecipients.
-
getBCCAddresses
Get the email addresses ofBCCrecipients.- Returns:
- the email addresses of
BCCrecipients.
-
getInlineAttachments
List<IAttachment> getInlineAttachments()Get the list of inline attachments.- Returns:
- list of
IAttachment
-
getBody
IMailBody getBody()Get the email body details.- Returns:
IMailBody
-
getSentTime
Date getSentTime()Get the email sent time.- Returns:
- Email sent time.
-
hasRegularAttachments
boolean hasRegularAttachments()Get the flag which will indicate whether email has any regular attachments.- Returns:
- true if email has regular attachment else returns false.
-
getSubject
String getSubject()Get the mail subject.- Returns:
- mail subject
-
getCustomMetadata
String getCustomMetadata()The custom metadata information that is written in HTML wrapper template when mail body is wrapped
Example:{"CustomMetadata":[ { "ExtractorInfo" : { "Id" : "SecloreClassification" }, "MetadataInfo" : { "DisplayLabel" : "TopSecret", "Metadata" : "{\"Java Team Internal Policy Server (1b8335726106674633a55acc0ed6e1bafbc82e9f)\":{\"AuthorId\":\"S-1-5-21-1898936974-2135547054-2131954801-31693\",\"ClassificationDisplayName\":\"TopSecret\",\"ClassificationMode\":\"ClassificationMode_UserDriven\",\"LabelId\":\"100034\",\"Version\":\"1\"}}" }, "VersionInfo" : "1" }, { "ExtractorInfo" : { "Id" : "SecloreProtection" }, "MetadataInfo" : {"ProtectMode":"Manual/Auto"}, "VersionInfo" : "1" } ] }
-