Classes > EmailNotificationOptions

EmailNotificationOptions

Returned by

Get-DtEmailNotificationOptions, Set-DtEmailNotificationOptions

Parameter of

Test-DtEmailNotification

Properties

Name Type Description
ConnectionSecurity SmtpConnectionSecurity

This value represents the SMTP server connection security.

Enabled Boolean This value is true if email notification is enabled; otherwise, it is false.
EntryIdFilter String This value is one or more comma-delimited Windows Event Log entry IDs for which email notifications should be sent.
EntryTypeFilter String This value is one or more comma-delimited Windows Event Log entry types (error, warning, or information) for which email notifications should be sent.
From String This value is the e-mail address that will be placed in the From field of the email message.
IncludeEventDescriptionInSubject Boolean This value is true if the event description is included in the email subject; otherwise, it is false.
LoginToSmtpServer Boolean This value is true if you must log in to the SMTP server; otherwise, it is false.
SmtpCredentials Credentials 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.
SmtpPort Int32 This value is the SMTP port. The default port is 25.
SmtpServer String This value is the name of the SMTP server.
SubjectPrefix String This value is the text that will be added to the beginning of the email subject.
To String This value can contain one or more comma-delimited e-mail addresses to which the email notifications will be sent.