Comments (3)
Yeah, I was afraid something like that would happen. The reason that it tries to detect if he line is a header instead of assuming all lines before two line breaks are headers is because I was trying to handle a case where headers had incorrect breaks -- 2 between each.
Instead of trying to detect a header, it should detect the spacing. I'll work on that tonight.
On Dec 6, 2011, at 8:53 AM, "Waldo2k2" [email protected] wrote:
The existence of the colon in the url causes the library to assume the line is a header if it's the first non-empty line in the body of the email. Is there a better way we could be determining if the current line being parsed contains a header?
Reply to this email directly or view it on GitHub:
#9
from aenetmail.
Any progress on this issue? We've worked around it for now, just curious if you came up with another method for parsing the headers.
from aenetmail.
Sorry about that, I got side tracked. :] I've just published a fix for the header issue. It will now follow standard and assume that a blank line is the end of headers instead of trying to handle a rare edge-case when the header line-endings are mangled.
Andy
-----Original Message-----
From: Waldo2k2 [mailto:[email protected]]
Sent: Wednesday, December 28, 2011 8:47 PM
To: Andy Edinborough
Subject: Re: [aenetmail] Urls in first line of plain text email are interpreted as headers (#9)
Any progress on this issue? We've worked around it for now, just curious if you came up with another method for parsing the headers.
Reply to this email directly or view it on GitHub:
#9 (comment)
from aenetmail.
Related Issues (20)
- GetMessage not returning messages HOT 1
- Send Mail HOT 1
- Unable to delete the message from Inbox HOT 1
- How to connect to other that gmail account? Example imap.company.com. HOT 1
- Label for 1.7.10.0? HOT 1
- System.Exception while moving mail on Gmail
- How to get unseen count HOT 1
- Difference between aenetmail and other IMAP libs?
- Error searching for Gmail emails started "xm003 BAD Could not parse command" HOT 6
- Getting "An existing connection was forcibly closed by the remote host" error HOT 1
- POP3 Client | Cant download anything HOT 1
- outlook.office365 connect problem
- Accessing shared mailboxes
- AE.Net.Mail.Attachment.Save() method exception
- Emails from yeah.net (possibly 163.com too) causes issues selecting "INBOX" HOT 2
- CRITICAL: Multi-part Mail at END of stream results in a CPU-Heavy INFINITE loop!
- SearchCondition 按照时间筛选没用不起效果! 什么情况
- Support Net 5
- xm001 NO [UNAVAILABLE]
- .net core: "No data is available for encoding 1252" HOT 1
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 aenetmail.