-
Notifications
You must be signed in to change notification settings - Fork 0
14925824 a997 2bdd 0765 5e807f8986d6
Axel Kesseler edited this page Mar 1, 2023
·
4 revisions
The class to provide settings for all of the mail logging writers.
System.Object
Plexdata.LogWriter.Settings.LoggerSettings
Plexdata.LogWriter.Settings.MailLoggerSettings
Namespace: Plexdata.LogWriter.Settings
Assembly: Plexdata.LogWriter.Mail (in Plexdata.LogWriter.Mail.dll) Version: 1.0.7.1
C#
public class MailLoggerSettings : LoggerSettings,
IMailLoggerSettings, ILoggerSettings, INotifyPropertyChanged
The MailLoggerSettings type exposes the following members.
Name | Description | |
---|---|---|
MailLoggerSettings | The static class constructor. | |
MailLoggerSettings() | The standard class constructor. | |
MailLoggerSettings(ILoggerSettingsSection) | The extended constructor that initializes all properties from provided configuration instance. |
Name | Description | |
---|---|---|
Address | Gets and sets the sender e-mail address. | |
BlindCopies | Gets and sets the list of copy e-mail recipients. | |
ClearCopies | Gets and sets the list of copy e-mail recipients. | |
Culture | Gets and sets the culture information to be used. (Inherited from LoggerSettings.) | |
Encoding | Gets or sets the used mail encoding. | |
FullName | Determines whether the full name is used in messages or not. (Inherited from LoggerSettings.) | |
LogLevel | Gets and sets the logging level to be used. (Inherited from LoggerSettings.) | |
LogTime | Gets and sets the type of time to be used. (Inherited from LoggerSettings.) | |
LogType | Gets and sets the output format to be used. (Inherited from LoggerSettings.) | |
PartSplit | Gets and sets the character to separate each of the message parts. (Inherited from LoggerSettings.) | |
Password | Gets and sets the e-mail account password. | |
Receivers | Gets and sets the list of main e-mail recipients. | |
ShowKey | Determines whether the message key is shown or not. (Inherited from LoggerSettings.) | |
ShowTime | Determines whether the message timestamp is shown or not. (Inherited from LoggerSettings.) | |
SmtpHost | Gets and sets the SMTP host name. | |
SmtpPort | Gets and sets the SMTP port name. | |
Subject | Gets or sets the used mail subject. | |
TimeFormat | Gets and sets the time format to be used. (Inherited from LoggerSettings.) | |
Username | Gets and sets the e-mail account username. | |
UseSsl | Determines whether the usage of SSL is enabled or not. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetSectionValues | Gets the values from section for provided key. (Inherited from LoggerSettings.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue(TType) | Gets the type-safe value of provided value. (Inherited from LoggerSettings.) | |
IsValidCultureName | Checks if value is a valid culture name. (Inherited from LoggerSettings.) | |
LoadSettings | The method loads all settings from provided configuration and initializes all properties accordingly. (Overrides LoggerSettings.LoadSettings(ILoggerSettingsSection).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RaisePropertyChanged | Informs listeners about property changes. (Inherited from LoggerSettings.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
PropertyChanged | Occurs when a property value changes. (Inherited from LoggerSettings.) |
Name | Description | |
---|---|---|
address | This field holds the chosen address. | |
blindCopies | This field holds the chosen blind copies list. | |
clearCopies | This field holds the chosen clear copies list. | |
culture | This field represents currently assigned culture. (Inherited from LoggerSettings.) | |
DefaultAddress | The default address value. | |
DefaultBlindCopies | The default blind copies value. | |
DefaultClearCopies | The default clear copies value. | |
DefaultEncoding | The default encoding value. | |
DefaultPassword | The default password value. | |
DefaultReceivers | The default receivers value. | |
DefaultSmtpHost | The default SMTP host value. | |
DefaultSmtpPort | The default SMTP port value. | |
DefaultSubject | The default subject value. | |
DefaultUsername | The default username value. | |
DefaultUseSsl | The default value of SSL usage. | |
encoding | This field holds the chosen encoding. | |
fullName | This field represents current state of full name usage. (Inherited from LoggerSettings.) | |
logLevel | This field represents current logging level. (Inherited from LoggerSettings.) | |
logTime | This field represents current logging time. (Inherited from LoggerSettings.) | |
logType | This field represents current logging type. (Inherited from LoggerSettings.) | |
partSplit | This field represents current part split character. (Inherited from LoggerSettings.) | |
password | This field holds the chosen password. | |
receivers | This field holds the chosen receivers list. | |
showKey | This field represents current state of key visibility. (Inherited from LoggerSettings.) | |
showTime | This field represents current state of time stamp visibility. (Inherited from LoggerSettings.) | |
smtpHost | This field holds the chosen SMTP host. | |
smtpPort | This field holds the chosen SMTP port. | |
subject | This field holds the chosen subject. | |
timeFormat | This field represents current time stamp format. (Inherited from LoggerSettings.) | |
username | This field holds the chosen username. | |
useSsl | This field holds the chosen SSL enabled state. |
This class allows a configuration of classes derived from mail logger interfaces. But keep in mind, the availability of particular setting items depends of which of the available mail loggers is actually used.
Attention, logging type RAW is used as the default logging type.