smiley22 / S22.Imap

A free, easy-to-use and well-documented .NET library component for communicating with IMAP servers
http://smiley22.github.com/S22.Imap/Documentation/
MIT License
211 stars 115 forks source link

ArgumentNullException & FormatException #137

Open ErfolgreichCharismatisch opened 7 years ago

ErfolgreichCharismatisch commented 7 years ago

I get

Ausnahme ausgelöst: "System.ArgumentNullException" in mscorlib.dll
Ausnahme ausgelöst: "System.FormatException" in mscorlib.dll

all the time while Client.GetMessages is running.

Seems to do the job anyways, but there is something wrong in the code.

NiKiZe commented 7 years ago

It was a decission by @smiley22 to use Exceptions as "normal flow" which is of course bad see https://github.com/smiley22/S22.Imap/issues/27#issuecomment-15562403

I did some changes to handle this, but can't find it on github so might have ended up in internal only since responses from smiley just stopped (you should probably consider this repo abandoned by now)

ErfolgreichCharismatisch commented 7 years ago

Which alternative do you suggest - please also see my feature request.