+1 vote

If I try to login via

imap.UseBestLogin(Credentials.UserName, Credentials.Password)

I get the following exception:

ClientLimilabs.Client.IMAP.ImapResponseException: [REFERRAL imap://somebody@mydomain.de;AUTH=PLAIN@XXXXX.ispgateway.de |proxy=0/] Try this server instead.

Does anybody has a hint on how to handle?

Best regards,
Torben

by (450 points)

1 Answer

0 votes
 
Best answer

Login referrals are described in RFC 2221.

They allow clients to transparently connect to an alternate IMAP4 server, if their home IMAP4 server has changed. In most cases it means that data for this user are stored on a different server.

You should simply connect to a different sever.

by (297k points)
selected by
You're right.
But furthermore it might be that the exception is although thrown, when the password is not correct. After checking and correcting the password it's all fine.
...