Skip to content

Commit

Permalink
Merge pull request #120 from filpen/issue86
Browse files Browse the repository at this point in the history
fix setseen logic in GetMessages
  • Loading branch information
andyedinborough committed Jan 29, 2013
2 parents 0958c5a + ab8ce31 commit df95cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ImapClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ public virtual MailMessage[] GetMessages(string start, string end, bool uid, boo
string command = tag + (uid ? "UID " : null)
+ "FETCH " + start + ":" + end + " ("
+ _FetchHeaders + "UID FLAGS BODY"
+ (setseen ? ".PEEK" : null)
+ (setseen ? null : ".PEEK")
+ "[" + (headersonly ? "HEADER" : null) + "])";

string response;
Expand Down

0 comments on commit df95cad

Please sign in to comment.