Bug in UIDL?

May 20, 2009 at 4:49 AM

Hello.

Please let me use C#Mail.

I will report because I discovered the thing that seems to be the bug.

The regular expression of cutting out seems to be wrong it is mounting the UIDL command of POP3, and to be returned only a part of Uid.

* These sentences use the automatic translation software. (Japanese->English)

 

May 20, 2009 at 6:51 AM

It seems to find the mistake also in processing when there is a parameter in UIDL like "UIDL MailIndex".
Processing does the time-out because it waits for the answer of two or more lines whenever the UIDL command is processed.

* These sentences use the automatic translation software. (Japanese->English)

Coordinator
May 22, 2009 at 3:19 PM

Thank you for your report.

And I glad to your using C#Mail.

I want to investigate the bug and to fix it.

Please send me the response text which cause bug.

As..

"12349 1123"

regard

Developer
Feb 4, 2010 at 9:10 AM
Edited Feb 8, 2010 at 7:41 PM

Hello,

I can confirm both issues as stated by takoh.

Let me investigate them one by one.

 

1. Time-out when calling ExecuteUidl() with no parameter.

This happens because command is formatted and sent to server as "Uidl " instead of "Uidl", and some servers return "-ERR Unrecognized syntax".

But, because there's no checking for "-ERR" in Pop3Client, timeout occurs as Pop3Client waits indefinitely.

2. Some formats of UIDs are not parsed.

This happens when UIDs have spaces or other non-numeric, non-alpha characters in them, for example, "123456.5000".

Developer
Feb 4, 2010 at 9:47 AM
Edited Feb 8, 2010 at 7:42 PM

Fixed in changeset 35966.