Giter VIP home page Giter VIP logo

Comments (4)

charlescapps avatar charlescapps commented on June 30, 2024

Actually, I added some debugging, and it looks like our email is failing to be parsed.

When getContent() is called on the multipart message, it is returning a "SharedInputStream" instead of a "Multipart".

Maybe you can help point me in the right direction of how to fix this.

from maildrop.

m242 avatar m242 commented on June 30, 2024

Ugh-- this message is one of those rare types that makes parsing RFC1341 messages such a pain. The real solution here is to set up a recursive method that goes through a mime multipart and just grabs all text parts, and recursively calls itself for any multipart content items. Once you have the list of all text parts, you could probably just concatenate them together-- that would make the web display easier (we aren't trying to be Gmail after all).

from maildrop.

charlescapps avatar charlescapps commented on June 30, 2024

Actually...it turns out that your code is going 2-levels deep, which is good enough.

The problem mainly lies in Exceptions being squelched, so I couldn't figure out the root cause. I'm going to close out this ticket and create 2 new ones that are more descriptive.

from maildrop.

faust64 avatar faust64 commented on June 30, 2024

Encountering with a similar issue, note the previous commit might fix.
Considering I have no idea what I just did, and little understanding what's going on, ... I can still confirm error message's gone ...

from maildrop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.