--- title: "Set-VBRMailNotificationConfiguration" description: "Modifies global email notification settings. Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet modifies global email notification settings. To modify settings, specify new values for the necessary parameters." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/set-vbrmailnotificationconfiguration.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Backup Infrastructure > Veeam Backup & Replication Settings > Specifying Email Notification Settings > Set-VBRMailNotificationConfiguration" dateModified: "2026-08-19" --- # Set-VBRMailNotificationConfiguration ## Short Description Modifies global email notification settings. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Set-VBRMailNotificationConfiguration [-SmtpServer ] [-Sender ] [-Recipient ] [-Subject ] [-DailyReportsTime ] [-Port ] [-Timeout ] [-EnableSSL] [-EnableAuth] [-Credentials ] [-NotifyOnSuccess] [-NotifyOnWarning] [-NotifyOnFailure] [-NotifyOnLastRetryOnly] [-Force] [-AIGenerated ] [] ``` ## Detailed Description This cmdlet modifies global email notification settings. ::: note To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

AIGenerated

Specifies whether Veeam Backup & Replication will use AI-generated text in email notification messages.

Boolean

False

Named

False

Credentials

Specifies the user credentials that Veeam Backup & Replication will use connect to the SMTP server.

CCredentials

False

Named

False

DailyReportsTime

Specifies the time when Veeam Backup & Replication will send daily reports.

Default: 1/1/2019 10:00:00 PM

DateTime

False

Named

False

EnableAuth

Defines that Veeam Backup & Replication will use user credentials to connect to the SMTP server.

Default: Disabled

SwitchParameter

False

Named

False

EnableSSL

Enables SSL. If you provide this parameter, Veeam Backup & Replication will send email notifications over secure connection.

Default: Disabled

SwitchParameter

False

Named

False

Force

Defines that the cmdlet will modify global email notification settings without showing warnings in the PowerShell console.

SwitchParameter

False

Named

False

NotifyOnFailure

Defines that Veeam Backup & Replication will send email notifications if a job does not complete successfully.

Default: True.

Note: To disable this option, set the parameter value to $false. That is, parameter_name:$false.

SwitchParameter

False

Named

False

NotifyOnLastRetryOnly

Defines that Veeam Backup & Replication will send email notifications about the final job status.

Default: True.

Note: To disable this option, set the parameter value to $false. That is, parameter_name:$false.

SwitchParameter

False

Named

False

NotifyOnSuccess

Defines that Veeam Backup & Replication will send email notifications if a job runs successfully.

Default: True.

Note: To disable this option, set the parameter value to $false. That is, parameter_name:$false.

SwitchParameter

False

Named

False

NotifyOnWarning

Defines that Veeam Backup & Replication will send email notifications if a job completes with a warning.

Default: True.

Note: To disable this option, set the parameter value to $false. That is, parameter_name:$false.

SwitchParameter

False

Named

False

Port

Specifies the port number. The SMTP server will send messages over this port.

Default: 25

Int32

False

Named

False

Recipient

Specifies the recipient addresses.

String

False

Named

False

Sender

Specifies an email address. The cmdlet will send email notifications from this address.

String

False

Named

False

SmtpServer

Specifies a full DNS name or an IP address of the SMTP server. The cmdlet will use this server to send email notifications.

String

False

Named

False

Subject

Specifies the subject of the email notifications.

String

False

Named

False

Timeout

Specifies the connection timeout for the SMTP server.

Default: 100000

Int32

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the [`VBRMailNotificationConfiguration`](vbrmailnotificationconfiguration.md) object that contains global email notification settings. ## Examples ::: example ### Modifying Global Email Notification Settings This command modifies the global notification settings. Veeam Backup & Replication will send notification settings with the following options: - The IP address of the SMTP server that Veeam Backup & Replication will use to send messages is `172.17.53.12`. - The messages are sent from the `backup@tech.com` email address. - The messages are sent to the `administrator@tech.com` email address. - The subject of the messages is `%BackupJobs%`. - Veeam Backup & Replication will send messages if the backup job fails. ``` Set-VBRMailNotificationConfiguration -SmtpServer 172.17.53.12 -Sender backup@tech.com -Recipient administrator@tech.com -Subject %BackupJobs% -NotifyOnFailure ``` ::: ## Related Commands [`Get-Date`](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-date?view=powershell-7.1)