Giter Club home page Giter Club logo

Comments (4)

zbateson avatar zbateson commented on August 21, 2024 1

Hmmmm, that's an interesting way of splitting boundary in the Content-Type header's boundary value. Because it's in double-quotes, I wonder if I may be considering that a "literal" space or how I'm handling that. Apart from that the message looks normal enough to me...

Can you tell me what you're expecting and how it's failling? Is it throwing out an error, or just considering the whole document one part, or what's happening with it? The part of the code that's failing e.g. if you're calling "getTextContent" or something could be helpful too 😊

Thanks

from mail-mime-parser.

zbateson avatar zbateson commented on August 21, 2024 1

Thanks @yurikuzn -- this highlighted an issue with parsing quoted header parts. My implementation considered the new line to be a valid part of the quoted part and kept it, but should actually be ignored based on the example here: https://tools.ietf.org/html/rfc822#section-3.1.1 and here https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html in 7.2.1.

I've pushed a fix to 'master'. Please let me know if you notice any issues... otherwise I'll push a new release version in a couple of days 😊

from mail-mime-parser.

yurikuzn avatar yurikuzn commented on August 21, 2024

It doesn't return content. Emails are fetched with empty body. No error thrown. I didn't have a chance to investigate it more deep yet.

I've encountered with boudary values containing line breaks before, when utilized zend mail library. I remember there was a problem with parcing too.

from mail-mime-parser.

yurikuzn avatar yurikuzn commented on August 21, 2024

Thank you

from mail-mime-parser.

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.