Compartilhar via


IEmailNotificationConfiguration Interface

 

Applies To: Windows Server Update Services

Defines the interface for configuring the e-mail user account and e-mail server.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

public interface IEmailNotificationConfiguration
public interface class IEmailNotificationConfiguration
type IEmailNotificationConfiguration = interface end
Public Interface IEmailNotificationConfiguration

Properties

Name Description
System_CAPS_pubproperty EmailLanguage

Gets and sets the e-mail language setting.

System_CAPS_pubproperty HasSmtpUserPassword

Get whether or not the email sender's password is already set

System_CAPS_pubproperty LastModifiedBy

Gets the name of the last administrator to modify the e-mail notification settings.

System_CAPS_pubproperty LastModifiedTime

Gets the last time e-mail notification settings were modified.

System_CAPS_pubproperty SenderDisplayName

Gets and sets the display name of the sender.

System_CAPS_pubproperty SenderEmailAddress

Gets and sets the e-mail address of the sender.

System_CAPS_pubproperty SendStatusNotification

Gets and sets whether new update status summaries are to be sent.

System_CAPS_pubproperty SendSyncNotification

Gets and sets whether new update alerts should be sent.

System_CAPS_pubproperty SmtpHostName

Gets and sets the name of the SMTP server.

System_CAPS_pubproperty SmtpPort

Gets and sets the SMTP port number.

System_CAPS_pubproperty SmtpServerRequiresAuthentication

Gets and sets whether the SMTP server requires authentication.

System_CAPS_pubproperty SmtpUserName

Gets and sets the e-mail sender's account name.

System_CAPS_pubproperty StatusNotificationFrequency

Gets and sets the frequency with which e-mail notifications should be sent.

System_CAPS_pubproperty StatusNotificationRecipients

Gets the e-mail addresses of those to whom status notification should be sent.

System_CAPS_pubproperty StatusNotificationTimeOfDay

Gets and sets the time of the day e-mail notifications should be sent.

System_CAPS_pubproperty SupportedEmailLanguages

Gets the supported languages for e-mail content.

System_CAPS_pubproperty SyncNotificationRecipients

Gets the e-mail addresses of those to whom notification of new updates should be sent.

Methods

Name Description
System_CAPS_pubmethod Save()

Saves the e-mail configuration to the database.

System_CAPS_pubmethod SendTestEmail()

Sends a test e-mail to check the SMTP server settings.

System_CAPS_pubmethod SetSmtpUserPassword(SecureString)

Sets the e-mail sender's password.

System_CAPS_pubmethod SetSmtpUserPassword(String)

Sets the e-mail sender's password.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top