Comments (4)
Thanks. Any chance you could supply me with a test file (I'd understand that this might be difficult due to privacy concerns, but I thought I just ask).
I'll try to have a look at this one -- those boundaries in combination with newlines gave me quite some headache during development :-)
from partial-emlx-converter.
Thank you for your reply. I will supply you with the smallest sample I can find in my archive.
However the missing line break is always at the end of the emlx file between the boundary and the XML start:
_______________________________________________
Some mailing list
[email protected]
http://example.com/mailman/listinfo/somemailinglist
--===============3331787384868445895==-<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>date-received</key>
<integer>1346074997</integer>
<key>date-sent</key>
<integer>1346074997</integer>
<key>flags</key>
<integer>8590195713</integer>
<key>original-mailbox</key>
<string>imap://someserver</string>
<key>remote-id</key>
<string>10916</string>
<key>sender</key>
<string>Joe <[email protected]></string>
<key>subject</key>
<string>Some mail</string>
<key>to</key>
<string>Alice <[email protected]></string>
</dict>
</plist>
from partial-emlx-converter.
I've just been investigating this, and I'm a little surprised that the boundary string before the XML only ends with a single -
. According to the spec, the close delimiter is supposed to look like this:
close-delimiter := delimiter "--"
Out of curiosity: Is this the case with many of your emails? Are they all from a mailing list or does this happen with other emails as well?
from partial-emlx-converter.
Every time the conversion fails, I move the offending mail out of the source folders. I am still not done with this.
Searching for "==-<" gives me 23 results in the rejects folder.
If I am not mistaken all mails are related to mailing lists managed by mailman.
from partial-emlx-converter.
Related Issues (15)
- Attachments were not converted HOT 2
- 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
- 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.