Pop3Log Property
Gets the object used for logging MailBee activities into a file or memory buffer.

Namespace: MailBee.Pop3Mail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Logger Log { get; }

Property Value

Type: Logger
A reference to the object used for logging MailBee activities into a file or memory buffer.
Remarks
This property is never a null reference (Nothing in Visual Basic) even if logging is not used.
Examples
This sample sets file logging on and sets the filename of the log file.
// To use the code below, import MailBee namespaces at the top of your code
using MailBee;
using MailBee.Pop3Mail;

// The actual code (put it into a method of your class).
Pop3 pop = new Pop3();
pop.Log.Enabled = true;
pop.Log.Filename = @"C:\Temp\log.txt";
pop.Connect("mail.domain.com");
pop.Disconnect();
See Also