andyedinborough / aenetmail

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

AE.Net.Mail.Imap.AuthMethods cannot be resolved #161

Open justSteve opened 10 years ago

justSteve commented 10 years ago

Just getting started with the library and have a couple valid responses via the POP protocol and now trying the Imap but (using the sample snippet from this project's frontpage) I'm getting a 'Cannot resolve symbol AuthMethods' at the:

using(var imap = new AE.Net.Mail.ImapClient(host, username, password, AE.Net.Mail.ImapClient.AuthMethods.Login, port, isSSL)) {....

I'm compiling the current code against 4.5 ( I'm hoping to use this utility in a native Azure WebJobs app). Get no errors on the compile but should I expect that to be the problem?

Thanks much!

jstedfast commented 10 years ago

Since this has gone so long without suggestions, I won't feel bad about suggesting that you try MailKit instead. MailKit is a far more robust IMAP implementation.

derekdavenport commented 9 years ago

The AuthMethods enum is here: AE.Net.Mail.AuthMethods.Login