andyedinborough / aenetmail

C# POP/IMAP Mail Client
370 stars 153 forks source link

When network was reconnected imap.NewMessage += not works #30

Open bala2it4u opened 12 years ago

bala2it4u commented 12 years ago

Some time we may go out of network and reconnected, while that time

imap.NewMessage += (sender, e) => { var msg = imap.GetMessage(e.MessageCount - 1); }

this function will not work, Connection is not providing any exception to the user. If their is any event to rise while exception and reconnect function. it will be more useful to all.

Best Regards Balaji Manoharan