Simple Mail and Post Office Protocol for .Net (SmtPop)

SMTPWriter.DebugStream Property

A writer for debug purpose. All text writtten to the SMTPWriter is written on this Stream. It is useful to debug SMTP formatting

public System.IO.TextWriter DebugStream {get; set;}

Example

SMTPWriter wr = new SMTPWriter (smtp);
wr.DebugStream = = new System.IO.StreamWriter ("debug.eml", false, System.Text.Encoding.ASCII);
wr.Write (Message);

See Also

SMTPWriter Class | SmtPop Namespace