Announcement

Collapse
No announcement yet.

Attachment files corrupted

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Your are right. This is another error. The forwarded attachment is different from the original.

    Correct size is 200660, corrupted is 247494 (select from attachment table)

    5e896e468481b5b2f,bf.384539110100650327566R0103202 00100Y.20200331.output.Pdf,0,application/pdf,247494,,,2020-04-05 05:36:06,Attachment,,,0,5e896e468c2aea7f9,Email,,, system
    5e92038a9c2bf8902,bf.384539110100650327566R0103202 00100Y.20200331.output.Pdf,0,application/pdf,200660,,,2020-04-11 17:51:06,Attachment,,,0,5e92038aa056fe877,Email,,, system

    It seems like problems are related to attachment headers
    Original (corrupted)
    Content-Type: application/pdf; charset="Windows-1251"
    MIME-Version: 1.0
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment;
    filename="bf.384539110100650327566R010320200100Y.2 0200331.output.Pdf"

    Forwarded (correct)
    Content-Type: application/pdf;
    name="bf.384539110100650327566R010320200100Y.20200 331.output.Pdf"
    Content-Disposition: attachment;
    filename="bf.384539110100650327566R010320200100Y.2 0200331.output.Pdf"
    Content-Transfer-Encoding: base64
    Content-ID: <1716a5c133836661a251>
    X-Attachment-Id: 1716a5c133836661a251

    Comment


    • #17
      Please try this fix: https://github.com/espocrm/espocrm/c...2adea209b1ea33

      If pdf can be opened, I don't think that it was corrupted while parsing.

      Comment


      • #18
        PDF can't be opened

        Comment

        Working...
        X