Interface IMailOutput


public interface IMailOutput
This interface represents the unprotected mail details.
  • Method Details

    • getFromAddress

      String getFromAddress()
      Get the FROM email address.
      Returns:
      FROM email address.
    • getToAddresses

      HashSet<String> getToAddresses()
      Get the email addresses of TO recipients.
      Returns:
      the email addresses of TO recipients.
    • getReplyToAddress

      HashSet<String> getReplyToAddress()
      Get the email addresses of REPLY To recipients.
      Returns:
      the email addresses of REPLY To recipients.
    • getCCAddresses

      HashSet<String> getCCAddresses()
      Get the email addresses of CC recipients.
      Returns:
      the email addresses of CC recipients.
    • getBCCAddresses

      HashSet<String> getBCCAddresses()
      Get the email addresses of BCC recipients.
      Returns:
      the email addresses of BCC recipients.
    • 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" 
                                      }                       
                              ]                       
                              }