Interface MailContent.AttachedFile

    • Method Detail

      • getName

        String getName()
        The name of the attached file.
        Returns:
        a string.
      • getPath

        String getPath()
        The full path to the file content.
        Returns:
        a string.
      • toBodyPart

        default javax.mail.internet.MimeBodyPart toBodyPart()
                                                     throws javax.mail.MessagingException
        Gets the corresponding body part.
        Returns:
        a MimeBodyPart instance.
        Throws:
        javax.mail.MessagingException