-
-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added work-around for Yandex IMAP GetBodyPart() response not includin…
…g content Fixes issue #1708
- Loading branch information
Showing
10 changed files
with
167 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* CAPABILITY IMAP4rev1 CHILDREN UNSELECT LITERAL+ NAMESPACE XLIST UIDPLUS ENABLE ID IDLE MOVE | ||
A######## OK AUTHENTICATE Completed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* CAPABILITY IMAP4rev1 CHILDREN UNSELECT LITERAL+ NAMESPACE XLIST UIDPLUS ENABLE ID AUTH=PLAIN AUTH=XOAUTH2 IDLE MOVE | ||
A######## OK CAPABILITY Completed. |
9 changes: 9 additions & 0 deletions
9
UnitTests/Net/Imap/Resources/yandex/getbodypart-missing-content.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
* 1 FETCH (UID 3016 BODY[2.MIME] {145} | ||
Content-Disposition: attachment; | ||
filename="empty.pdf" | ||
Content-Transfer-Encoding: base64 | ||
Content-Type: application/pdf; | ||
name="empty.pdf" | ||
|
||
BODY[2] ) | ||
A######## OK FETCH Completed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* OK Yandex IMAP4rev1 at mail-imap-production-171.sas.yp-c.yandex.net:993 ready to talk with ::ffff:91.77.169.5:50580, 2024-Feb-13 08:17:42, gHfsEJKZ3Gk0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* LIST (\HasNoChildren \Marked \NoInferiors) "|" INBOX | ||
A######## OK LIST Completed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* NAMESPACE (("" "|")) NIL NIL | ||
A######## OK NAMESPACE Completed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
* FLAGS (\Answered \Seen \Draft \Deleted $Forwarded) | ||
* 49 EXISTS | ||
* 1 RECENT | ||
* OK [UNSEEN 8] | ||
* OK [PERMANENTFLAGS (\Answered \Seen \Draft \Flagged \Deleted $Forwarded \*)] Limited | ||
* OK [UIDNEXT 3065] Ok | ||
* OK [UIDVALIDITY 1679853140] Ok | ||
A######## OK [READ-WRITE] SELECT Completed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
* XLIST (\HasChildren \Unmarked \Drafts \Drafts) "|" Drafts | ||
* XLIST (\HasNoChildren \Unmarked \Templates) "|" "Drafts|template" | ||
* XLIST (\HasNoChildren \Marked \NoInferiors \Inbox) "|" INBOX | ||
* XLIST (\HasNoChildren \Unmarked) "|" Outbox | ||
* XLIST (\HasNoChildren \Unmarked \Sent \Sent) "|" Sent | ||
* XLIST (\HasNoChildren \Unmarked \Junk \Spam) "|" Spam | ||
* XLIST (\HasNoChildren \Unmarked \Trash \Trash) "|" Trash | ||
A######## OK XLIST Completed. |