Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

Updated Wiki: Debugging ImapX

$
0
0

Debugging ImapX

ImapX allows you to create a log file with all requests sent and all responses received. In order to do this, do the following

// Add this on application startup, remember to change the path
Debug.Listeners.Add(new TextWriterTraceListener(@"C:\users\public\test.txt"));
Debug.AutoFlush = true;

// After you created the client, set
client.IsDebug = true;

Also remember to turn on the "Define DEBUG constant" setting in your project's build properties.

Important: Please consider that the log file will contain the login and password you have used. Remeber to remove it before you send the log for review!

Viewing all articles
Browse latest Browse all 1952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>