Archived Forum Post

Index of archived forum posts

Question:

Retrieve Emails via POP3 from Server which does not support UIDL Command

Mar 07 '16 at 10:41

Hello,

is it possible to get the E-Mails from a POP3 Server which does not support the UIDL command? According to RFC1939 (https://tools.ietf.org/html/rfc1939) the UIDL command is optional.

Snippet from Pop3SessionLog:

**** Connected to mailtrap.io:9950
< +OK POP3 ready <1408495735.1452259041@mailtrap.io>
> CAPA
< +OK Capability list follows
< TOP
SASL LOGIN PLAIN CRAM-MD5
STLS
.
> STLS
< +OK
> USER 1401643877b93
< +OK
> PASS ****
< +OK maildrop locked and ready
> STAT
< +OK 50 281583
> UIDL
< -ERR command not recognized
> LIST
< +OK 50 messages (281583 octets)
1 890
2 912
3 890
4 7664
5 7664
6 969
7 869
8 512
9 13786
10 13786
11 13786
12 13786
13 13786
14 13806
15 885
16 871
17 889
18 885
19 871
20 889
21 348
22 406
23 395
24 398
25 368
26 583
27 590
28 594
29 594
30 603
31 603
32 522
33 7391
34 586
35 586
36 17137
37 869
38 838
39 558
40 17540
41 17540
42 17540
43 17540
44 17540
45 589
46 12615
47 12619
48 12645
49 12641
50 409
.
> UIDL
< -ERR command not recognized
> STAT
< +OK 50 281583
> UIDL
< -ERR command not recognized

Thanks in advance


Answer

Thanks Stefan. If you can provide me with a test account on a POP3 server that does not support UIDL, then I'll be happy to see if I can make Chilkat work with it. Send me private email if this is possible.

-Matt


Answer

I managed to get this working. What .NET Framework and Visual Studio version do you use? I'll post a new build..


Answer

Thanks Stefan,

Please try this new build:

32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet45-vs2013-9.5.0-win32.zip

64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet45-vs2013-9.5.0-x64.zip

Chilkat should be able to do its work internally without UIDLs. Of course, don't expect methods such as GetUidls to work...

Let me know if you find any problems. I did some rudimentary testing, but nothing comprehensive..