Comments (2)
Thanks for your report, and great that you have provided a test case. I'll have a look at it as soon as I have some spare minutes (tentatively this weekend). I'll get back to you then!
from partial-emlx-converter.
Here's a quick update, what I've found out so far:
The issue seems to be, that the eml-format
lib, which we use in this project, considers email headers case sensitively. In your .emlx file, the header name is Content-type
, but the eml-format
lib only handles Content-Type
.
-
Changing the header manually seems to solve this issue (line 77 in your .emlx file file).
-
This post suggests, that email headers are to be treated case-insensitively. So the current behavior is too strict.
-
Simplest solution: Ask
eml-format
's author to make the parsing case-insensitive (would you be willing to open an issue here, @tetsuya-asai?) -
Other, less favorable workaround in case (3) is not feasible: Write a workaround in this project to take care of above.
from partial-emlx-converter.
Related Issues (15)
- Different boundary strings crash HOT 3
- TypeError: Cannot read property 'readFile' of undefined HOT 1
- Non-Unicode encoding of message to convert HOT 7
- Add paypal/donate link to the README HOT 2
- Conversion starts but fails after a while with node V8.10 ubuntu HOT 5
- Build binary and distribute via Homebrew? HOT 3
- Migrate to GitHub Actions
- TypeError: this.stream.clearLine is not a function HOT 6
- Error interrupted conversion HOT 6
- Attachment hunt may fail on large folders? HOT 1
- Save mails with Windows Line Ending HOT 1
- Conversion stops when attachment cannot be found HOT 10
- Missing line break after boundary string lets conversion fail HOT 4
- Add `bin` to package.json to ease execution via npm/yarn
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from partial-emlx-converter.