Interface ITMailUtil


  • public interface ITMailUtil
    • Method Detail

      • getAttachmentCount

        int getAttachmentCount​(javax.mail.Message messageToCount,
                               ProfileBean profileBean)
      • getAttachments

        com.atlassian.mail.MailUtils.Attachment[] getAttachments​(javax.mail.internet.MimeMessage message,
                                                                 ProfileBean profile)
                                                          throws Exception
        Throws:
        Exception
      • getUnexpectedMessagesRecipientEmails

        String[] getUnexpectedMessagesRecipientEmails​(javax.mail.internet.MimeMessage[] messages,
                                                      Collection<String> expectedEmails,
                                                      javax.mail.Message.RecipientType recipientType)
                                               throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException
      • getMissingMessagesRecipientEmails

        String[] getMissingMessagesRecipientEmails​(javax.mail.internet.MimeMessage[] messages,
                                                   Collection<String> expectedEmails,
                                                   javax.mail.Message.RecipientType recipientType)
                                            throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException
      • getRecipients

        String[] getRecipients​(javax.mail.internet.MimeMessage message,
                               javax.mail.Message.RecipientType recipientType)
                        throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException
      • getRecipientsFromMessages

        String[] getRecipientsFromMessages​(javax.mail.internet.MimeMessage[] messages,
                                           javax.mail.Message.RecipientType recipientType)
                                    throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException