Help Center
Choose product document...
Veeam Backup for Microsoft Office 365 2.0
PowerShell Reference

Set-VEODSmtpSettings

Short Description

Modifies SMTP settings.

Syntax

Set-VEODSmtpSettings [-ConfigureSmtpSettings] [-Server <string>] [-Port <int>] [-From <string>] [-UseAuthentication] [-Credentials <pscredential>] [-UseSSL]  [<CommonParameters>]

Detailed Description

This cmdlet modifies SMTP settings for Veeam Explorer for Microsoft OneDrive. These settings are needed if you want to send restored items as e-mail attachments.

To modify settings, enter the corresponding parameters with new values. The parameters that you omit will remain unchanged.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Configure
SMTP
Settings

Indicates that the cmdlet will make Veeam Explorer for Microsoft OneDrive using mail server settings for sending restored mailbox items.

False

Named

False

False

Server

Specifies the full DNS name or IP address of the SMTP server for sending restored items in e-mail messages.

False

Named

False

False

Port

Specifies the port for connecting to SMTP server.

False

Named

False

False

Use
Authentication

Indicates that the cmdlet will make SMTP server requiring authentication. Otherwise, the connection will be established to SMTP server, which does not enforce authentication.

False

Named

False

False

UseSSL

If set, enables a secure connection for e-mail notification transmission. Otherwise, e-mail notifications will be transmitted through the connection that does not require SSL authentication.

False

Named

False

False

Credentials

Specifies the credentials you want to use for authenticating with SMTP server.

False

Named

False

False

From

Specifies the e-mail address from which Veeam Explorer for OneDrive will send restored OneDrive data. This e-mail address must have the rights to connect to SMTP server, If SMTP server requires authentication.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example

This example shows how to modify Veeam Explorer for Microsoft OneDrive SMTP settings for sending restored items in e-mail messages:

  1. Run Get-Credential to create a credential object. Type Windows credentials for connecting to the Veeam Backup for Microsoft Office 365 server. Save the result to the $credentials variable
  2. Run Set-VEODSmtpSettings with the $credentials variable to to modify Veeam Explorer for Microsoft OneDrive SMTP settings for sending restored OneDrive data in e-mail messages. Use UseSSL parameter to establish a secure connection for e-mail notification transmission.

PS C:\PS> $credentials = Get-Credentials

PS C:\PS> Set-VEODSmtpSettings -ConfigureSmtpSettings -Server test.support.local -Port 25 -From administrator@test.local -UseAuthentication -Credentials $credentials -UseSSL

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference