Click or drag to resize
EmailNotificationOptions Properties

The EmailNotificationOptions type exposes the following members.

Properties
  Name Description
Public property ConnectionSecurity
This value represents the SMTP server connection security.
Public property Enabled
This value is true if email notification is enabled; otherwise, it is false.
Public property EntryIdFilter
This value is one or more comma-delimited Windows Event Log entry IDs for which email notifications should be sent.
Public property EntryTypeFilter
This value is one or more comma-delimited Windows Event Log entry types (error, warning, or information) for which email notifications should be sent.
Public property ExtensionData
Gets or sets the structure that contains extra data.
Public property From
This value is the e-mail address that will be placed in the From field of the email message.
Public property IncludeEventDescriptionInSubject
This value is true if the event description is included in the email subject; otherwise, it is false.
Public property LoginToSmtpServer
This value is true if you must log in to the SMTP server; otherwise, it is false.
Public property SmtpCredentials
This value represents the credentials used to log into the SMTP server. Do not set this value if you want to user the SMTP server anonymously.
Public property SmtpPort
This value is the SMTP port. The default port is 25.
Public property SmtpServer
This value is the name of the SMTP server.
Public property SubjectPrefix
This value is the text that will be added to the beginning of the email subject.
Public property To
This value can contain one or more comma-delimited e-mail addresses to which the email notifications will be sent.
Top
See Also