+1 vote

We try to connect to an shared exchange mailbox via
Domain\User\Aliasbut get follwoing exception.
Connection with the old User (User, PWD) works.

09.08.2016 11:25:35 [ERROR] RunImapPoll : Limilabs.Client.ServerException: AUTHENTICATE failed.
at Limilabs.Client.IMAP.Imap.LoginPLAIN(String user, String adminUser, String adminPassword)
at Limilabs.Client.IMAP.Imap.UseBestLogin(String user, String password)
at WindowsServiceReadMail.AsyncMailReaderService.ConnectInbox()
at WindowsServiceReadMail.AsyncMailReaderService.RunImapPoll(CancellationToken ct)

by

1 Answer

0 votes

Please read the following article on accessing shared mailbox of Exchange Server:
https://www.limilabs.com/blog/access-shared-delegate-mailbox-exchange-server

Generally with all settings correct, for Exchange, you should use:

imap.UseBestLogin(@"Username@DomainName\SharedMailboxAlias", 

For Office365:

imap.Login(@@"Username@DomainName\SharedMailboxAlias", "password");
by (301k points)
...