I would like to know if there is a simple way to capture a transcript of the SMTP session when sending email using the System.Net.Mail.MailClient. In cases where an error is generated (ex: relaying denied) I would like to display the whole transcript to the user.
If there are previous questions that discuss this I was unable to find them. I am working with VB.NET, but C# examples are also appreciated. Thanks in advance for any suggestions!
Cheers, JE