LoggerHidePasswords Property
Gets or sets whether the actual password data may appear in the log or not.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
public bool HidePasswords { get; set; }

Property Value

Type: Boolean
true if passwords must be replaced with "********"-like patterns; false if password data must be preserved. The default value is true.

Only unencrypted passwords get hidden. These include passwords used with regular POP3 or POP-before-SMTP authentications, SASL LOGIN, and SASL PLAIN authentication methods. Secure authentication methods (such as APOP or SASL NTLM) do not transmit passwords over the network, so the password data never appear in the log anyway.

The pattern to replace passwords is taken from PrivateDataCover value.

Caution note Caution
Setting this property to false may expose security problems. Anybody who has access to the log file might be able to see the actual password data which was trasmitted by the component to the mail server.
See Also