The servers are maintained by a company called ATOS. Actually it is a shared mail environment that is used in our company. It is an Exchange 2013 server that is hosted at an external provider. To bad that I can't get any logging from the IMAP server. So I'll give it a new try tomorrow without SSL and see what WireShark turns up. I also have the problems when I use a normal connection without SSL. The original code I wrote didn't have these lines, I got a little bit frustrated so I was experimenting with settings to see if that would make any difference. Also the timeout and certificate callback. I tried all kind of possibilities to find out why the code isn't working. ((count = 1) ? "E-mail" : "E-mails")) Ĭlient.Connect("server", 993, true, false) Ĭlient.Login("domain/account", ".") Īny ideas why MailKit doesnt work on a Windows 2012R2 server? var result = string.Format(CultureInfo.CurrentCulture, client.Authenticate("domain/acount", ".") client.ServerCertificateValidationCallback += ServerCertificateValidationCallback using (var client = new ImapClient(protocolLogger)) using (var protocolLogger = new ProtocolLogger(memoryStream)) using (var memoryStream = new MemoryStream())
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |