This is an archive version of the document. To get the most up-to-date information, see the current version.

Set-VEODSmtpSettings

In this article

    Short Description

    Modifies SMTP settings.

    Applies to Veeam Backup for Microsoft Office 365

    Product Edition: Community, Rental, Subscription

    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 an SMTP server.

    False

    Named

    False

    False

    Use
    Authentication

    Indicates that the cmdlet will make an SMTP server requiring authentication. Otherwise, the connection will be established to the 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 an 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 an SMTP server, If the SMTP server requires authentication.

    False

    Named

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Example

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

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

    $credentials = Get-Credentials

    Set-VEODSmtpSettings -ConfigureSmtpSettings -Server test.support.local -Port 25 -From administrator@test.local -UseAuthentication -Credentials $credentials -UseSSL

    Related Commands

    Get-Credential