aenetmail icon indicating copy to clipboard operation
aenetmail copied to clipboard

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

Open justSteve opened this issue 11 years ago • 2 comments

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!

justSteve avatar May 25 '14 14:05 justSteve

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.

jstedfast avatar Jul 07 '14 11:07 jstedfast

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

derekdavenport avatar Mar 16 '15 18:03 derekdavenport