Just found a small bug in
ImapCommand.Sort(SortMethod sort, SortOrder order)
The string passed to string.Format() for the connection write call is wrong.
You have
Connection.Write(string.Format("SORT ({0){1}) US-ASCII ALL\r\n", OrderToString(order), SortToString(sort)));
The second bracket is a parenthesis not a brace.
So "{0){1}" needs to be "{0}{1}"
Vin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Just found a small bug in
ImapCommand.Sort(SortMethod sort, SortOrder order)
The string passed to string.Format() for the connection write call is wrong.
You have
Connection.Write(string.Format("SORT ({0){1}) US-ASCII ALL\r\n", OrderToString(order), SortToString(sort)));
The second bracket is a parenthesis not a brace.
So "{0){1}" needs to be "{0}{1}"
Vin
Think this is fixed in the current version in source control.
Just had a look, it's fixed.
Thanks, Vin
Awesome thanks.