MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
Other
2.6k
stars
623
forks
source link
Why do I execute the custom ID command with parameters and errors will be reported, without parameters will succeed. But I use telnet to execute the ID command with parameters to be successful #1874
OK Coremail System IMap Server Ready(163com[10774b260cc7a37d26d71b52404dcf5c])
C1 CAPABILITY
CAPABILITY IMAP4rev1 XLIST SPECIAL-USE ID LITERAL+ STARTTLS XAPPLEPUSHSERVICE UIDPLUS X-CM-EXT-1
C1 OK CAPABILITY completed
C2 LOGIN "@163.com"
C2 OK LOGIN completed
C3 CAPABILITY
CAPABILITY IMAP4rev1 XLIST SPECIAL-USE ID LITERAL+ STARTTLS XAPPLEPUSHSERVICE UIDPLUS X-CM-EXT-1
C3 OK CAPABILITY completed
C4 LIST "" ""
LIST (\Noselect) "/" ""
C4 OK LIST Completed
C5 ID NIL
ID ("name" "Coremail Imap" "vendor" "Mailtech" "TransID" "cFAZvADXroRR1q9e")
C5 OK ID completed
C6 ID ("NAME" "SUNING" "VERSION" "1.0")
C6 BAD Request not ending with
This is the Telnet command:
~ % telnet imap.163.com 143
Trying 123.126.97.78...
Connected to imap.163.com.
Escape character is '^]'.
OK Coremail System IMap Server Ready(163com[10774b260cc7a37d26d71b52404dcf5c])
C1 CAPABILITY
CAPABILITY IMAP4rev1 XLIST SPECIAL-USE ID LITERAL+ STARTTLS XAPPLEPUSHSERVICE UIDPLUS X-CM-EXT-1
C1 OK CAPABILITY completed
C2 LOGIN "@163.com"
C2 OK LOGIN completed
C3 CAPABILITY
CAPABILITY IMAP4rev1 XLIST SPECIAL-USE ID LITERAL+ STARTTLS XAPPLEPUSHSERVICE UIDPLUS X-CM-EXT-1
C3 OK CAPABILITY completed
C4 LIST "" ""
LIST (\Noselect) "/" ""
C4 OK LIST Completed
C5 ID NIL
ID ("name" "Coremail Imap" "vendor" "Mailtech" "TransID" "cFAZvAA3x3vX2q9e")
C5 OK ID completed
C6 ID ("NAME" "SUNING" "VERSION" "1.0")
ID ("name" "Coremail Imap" "vendor" "Mailtech" "TransID" "cFAZvAA3x3vX2q9e")
C6 OK ID completed
This is wrong detail:
This is the Telnet command: ~ % telnet imap.163.com 143 Trying 123.126.97.78... Connected to imap.163.com. Escape character is '^]'.