Uploaded image for project: 'James Mime4j'
  1. James Mime4j
  2. MIME4J-87

Add a factory for creating message bodies

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5
    • 0.6
    • None
    • None

    Description

      Currently it is not possible to build a Message object out of the box. This is because the user has to write a custom class that holds the message body first. TempFileBinaryBody and TempFileTextBody are package private and there is no other alternative.

      But instead of making these classes public a factory class should be added. This factory should provide methods for
      creating text and binary bodies from various sources such as InputStreams or Strings.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            robertburrelldonkin Robert Burrell Donkin
            wmax Markus Wiederkehr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment