–1 vote

I am evaluating your mail.dll product and had success using the ImapDownload example as a console appliation. However, we will need to use this functionality in a Windows Service. If I copy the working example from the console application to a Windows service I receive the following error:

Limilabs.Client.ServerException: A non-recoverable error occurred during a database lookup ---> System.Net.Sockets.SocketException: A non-recoverable error occurred during a database lookup
at System.Net.Dns.GetAddrInfo(String name)
at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
at System.Net.Sockets.Socket.Connect(String host, Int32 port)
at Limilabs.Client.ClientBase.Connect(String host, Int32 port, Boolean useSSL)

I would like to resolve this prior to purchasing the product.

closed with the note: Resolved
by (620 points)
closed by

1 Answer

+1 vote
 
Best answer

I apologize, the windows service was running under an incorrect identity...All is well, testing continues.

by (620 points)
selected by
That was my guess, my answer was deleted as you already found the issue and closed the question.

Glad that you were able to solve that.
...