--- title: "Set-VEODMailSettings" description: "Modifies Veeam Explorer for Microsoft OneDrive email settings. Veeam Explorer for Microsoft OneDrive uses these settings to send Microsoft OneDrive items as attachments in email messages." canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/set-veodmailsettings.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft OneDrive > Set-VEODMailSettings" dateModified: "2026-08-18" --- # Set-VEODMailSettings ## Short Description Modifies Veeam Explorer for Microsoft OneDrive email settings. Veeam Explorer for Microsoft OneDrive uses these settings to send Microsoft OneDrive items as attachments in email messages. **Product**: Veeam Backup for Microsoft 365 **Product Edition**: Community, Rental License, Subscription License ## Syntax This cmdlet provides the following parameter sets:
CustomSmtpParameterSet
GoogleGmailParameterSet
Microsoft365ParameterSet
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
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 |
|
Credentials |
Specifies credentials that you want to use for authentication to the SMTP server. Accepts the |
|
False |
Named |
False |
|
EnableSendingEmails |
Defines that Veeam Explorer for Microsoft OneDrive will send email messages. Default: False |
|
False |
Named |
False |
|
From |
Specifies an email address of the email sender. |
|
True |
Named |
False |
|
GoogleGmail |
Defines that Veeam Explorer for Microsoft OneDrive will send email messages on behalf of a Google account. Default: False |
|
True |
Named |
False |
|
MailApiUrl |
Specifies the Microsoft Graph endpoint for sending mail. Default: https://graph.microsoft.com/v1.0 |
|
False |
Named |
False |
|
Microsoft365 |
Defines that Veeam Explorer for Microsoft OneDrive will send email messages on behalf of a Microsoft 365 account. Default: False |
|
True |
Named |
False |
|
Port |
Specifies a port number for connecting to SMTP server. |
|
False |
Named |
False |
|
Server |
Specifies the full DNS name or IP address of the SMTP server for sending email messages. |
|
False |
Named |
False |
|
TenantId |
Specifies a tenant ID in Microsoft Entra ID. |
|
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 Explorer for Microsoft OneDrive will enable a secure connection for sending emails. If you do not provide this parameter, email messages will be sent through a connection that does not require TLS authentication. Default: False |
|
False |
Named |
False |