--- title: "Set-VBOEmailSettings" description: "This cmdlet modifies email notification settings for Veeam Backup for Microsoft 365. To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/set-vboemailsettings.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Email Notification Settings > Set-VBOEmailSettings" dateModified: "2026-08-21" --- # Set-VBOEmailSettings ## Short Description Modifies email notification settings. Email notifications are sent from a backup proxy server upon each execution of a backup or backup copy job. ## Syntax This cmdlet provides the following parameter sets:
CustomSmtpParameterSet
GoogleGmailParameterSet
Microsoft365ParameterSet
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AttachDetailedReport |
Defines that a detailed report about the job results will be included as an email attachment. Default: False |
|
False |
Named |
False |
|
ClientId |
Specifies the client ID obtained while registering an application in the Google Cloud console or Microsoft Identity platform. |
|
False |
Named |
False |
|
ClientSecret |
Specifies a password. Note: This parameter is required only for authentication with a Google account using a custom application. |
|
False |
Named |
False |
|
Credential |
Specifies credentials that you want to use for authentication to the SMTP server. |
|
False |
Named |
False |
|
EnableNotification |
Defines that Veeam Backup for Microsoft 365 will send email notifications. Default: False |
|
False |
Named |
False |
|
From |
Specifies email address of the notification sender. Note: Use this parameter only to send email notifications using SMTP server with basic authentication. |
|
False |
Named |
False |
|
GoogleGmail |
Defines that Veeam Backup for Microsoft 365 will send email notifications on behalf of a Google account. Default: False |
|
True |
Named |
False |
|
MailApiUrl |
Specifies the Microsoft Graph API URL of Microsoft Entra application registered in the Microsoft Identity platform. Default: https://graph.microsoft.com/v1.0 |
|
False |
Named |
False |
|
Microsoft365 |
Defines that Veeam Backup for Microsoft 365 will send email notifications on behalf of a Microsoft 365 account. Default: False |
|
True |
Named |
False |
|
NotifyOnFailure |
Defines that Veeam Backup for Microsoft 365 will send email notifications if a backup or backup copy completes with errors. Default: False |
|
False |
Named |
False |
|
NotifyOnSuccess |
Defines that Veeam Backup for Microsoft 365 will send email notifications if a backup or backup copy job completes successfully without any warnings or errors. Default: False |
|
False |
Named |
False |
|
NotifyOnWarning |
Defines that Veeam Backup for Microsoft 365 will send email notifications if a backup or backup copy job completes with warnings. Default: False |
|
False |
Named |
False |
|
Port |
Specifies a port number for connecting to SMTP server. Default: 587 |
|
False |
Named |
False |
|
SMTPServer |
Specifies the full DNS name or IP address of the SMTP server for sending email notifications. Default: smtp.office365.com |
|
False |
Named |
False |
|
Subject |
Specifies the subject for email notifications. You can use the following system variables:
|
|
False |
Named |
False |
|
SupressUntilLastRetry |
Defines that Veeam Backup for Microsoft 365 will send email notifications according to the job schedule settings. The following email notification scenarios are possible:
Default: False For more information on job schedule settings, see the |
|
False |
Named |
False |
|
TenantId |
Specifies a tenant ID in Microsoft Entra ID. |
|
False |
Named |
False |
|
To |
Specifies email address of the notification recipient. Semicolon is used for listing multiple recipients. |
|
False |
Named |
False |
|
UseAuthentication |
Defines that the SMTP server requires authentication. Otherwise, the connection will be established to the SMTP server, which does not enforce authentication. Default: False |
|
False |
Named |
False |
|
UseSSL |
Defines that Veeam Backup for Microsoft 365 will enable a secure connection for email notification transmission. Otherwise, email notifications will be transmitted through the connection that does not require TLS authentication. Default: False |
|
False |
Named |
False |