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

does not find the pattern boundary.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.7
    • parser (core)
    • None

    Description

      The name of sub-boundary to the upper boundary in the name + @ If you can not retrieve the attachment area.

      modify : BufferedLineReaderInputStream.indexOf(final byte[] pattern, int off, int len)

      see image.

      boundary="NextPart__5980.1307607747"
      boundary="NextPart__5980.13076077471"

      'NextPart_5980.1307607747' is also searched as a search NextPart_5980.13076077471.

      [ex eml]--------------------------------------------------------------------------------------------------------------------------------
      Content-Type: multipart/mixed;
      boundary="NextPart__5980.1307607747"

      This is a multi-part message in MIME format.

      --NextPart__5980.1307607747
      Content-Type: multipart/alternative;
      boundary="NextPart__5980.13076077471"

      --NextPart__5980.13076077471
      Content-Type: text/plain;
      charset="ks_c_5601-1987"
      Content-Transfer-Encoding: base64

      --NextPart__5980.13076077471
      Content-Type: text/html;
      charset="ks_c_5601-1987"
      Content-Transfer-Encoding: base64
      ...

      -NextPart__5980.13076077471-

      --NextPart__5980.1307607747
      Content-Type: application/octet-stream;
      name="1"
      Content-Transfer-Encoding: base64
      Content-Disposition: attachment;
      filename="1"
      ...
      --------------------------------------------------------------------------------------------------------------------------------

      Attachments

        1. boundary_Test_mail.eml
          138 kB
          Yong-Seong Kim
        2. ASF.LICENSE.NOT.GRANTED--screenshot-1.jpg
          94 kB
          Yong-Seong Kim

        Activity

          People

            Unassigned Unassigned
            yongseong Yong-Seong Kim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified