Comments (6)
For reference, cc @duesee
imap.exmail.qq.com sends:
* CAPABILITY IMAP4<SP>IMAP4rev1<SP><CRLF>
smtp-n.global-mail.cn sends:
* SEARCH<SP><CRLF>
from go-imap.
Seems similar to #540
I'm worried about calling mustUnreadByte
after CRLF
though. I think I'd prefer peeking at the next byte and checking whether it's \r
or \n
.
from go-imap.
Thank you very much, I will using dec.r.Peek(1)
to get the next byte and checking.
Is this a bug? or is it caused by not strictly following the RFC? and it will fix in the furture?
from go-imap.
This is a server bug: they are not strictly following the RFC's grammar.
from go-imap.
Hey @uuthink, can you say which server generated the CAPABILITY response with the trailing space?
from go-imap.
Fixed in #596
from go-imap.
Related Issues (20)
- utf7: simplify implementation
- Disable UTF-7 encoding for IMAP4rev2
- v1: connection hangs forever in "handleGreetAndStartReading" HOT 1
- v2: fails to parse imap server response HOT 2
- client: Dovecot startup failure hangs test HOT 1
- FETCH command did not return any message HOT 3
- How to clear total email with this "github.com/emersion/go-imap" HOT 1
- client: automatic IDLE
- [v2] Fallback MOVE by COPY+STORE+EXPUNGE doesn't return DestUIDs HOT 8
- oauth2 server HOT 1
- Handle DAVMAIL erroneous BODYSTRUCTURE reply HOT 2
- 【outlook】从 2024 年 9 月 16 日起,如果应用使用的登录技术安全性较低,则将无法再访问你的电子邮件。 HOT 1
- Fetch and misbehaving IMAP server HOT 3
- [Feature Request] Add a in-memory session/server for integration/regression testing HOT 1
- [V2] Got empty email ID list by c.UIDSearch() or c.Search() HOT 2
- Consider exposing iterator functions
- Consider turning capability set into a struct
- Aliyun mail uses UidSearch() or Search() method reporting "invalid command or parameters" HOT 4
- Getting `in response: imapwire: expected CRLF, got "]"` error when listing mailboxes HOT 3
- calling .Expunge().Close() gets stuck HOT 4
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 go-imap.