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

Set-VETSmtpSettings

Short Description

Modifies SMTP settings for Veeam Explorer for Microsoft Teams.

Applies to

Veeam Backup for Microsoft 365

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

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

Detailed Description

This cmdlet modifies SMTP settings of Veeam Explorer for Microsoft Teams. You may want to get information on these settings before you send restored Microsoft Teams items as email attachments.

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

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

ConfigureSMTPSettings

Defines that Veeam Explorer for Microsoft Teams will use mail server settings for sending restored items.

SwitchParameter

False

Named

False

False

Server

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

String

False

Named

False

False

Port

Specifies the port number. The cmdlet will use this port to connect to the SMTP server.

Int32

False

Named

False

False

UseAuthentication

Defines that the SMTP server requires authentication. Otherwise, the connection will be established to the SMTP server, which does not enforce authentication.

SwitchParameter

False

Named

False

False

UseSSL

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

SwitchParameter

False

Named

False

False

Credentials

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

Accepts the PSCredential object. To get this object, run the Get-Credential cmdlet.

False

Named

False

False

From

Specifies the email address from which Veeam Explorer for Microsoft Teams will send restored mailbox data. This email address must have rights to connect to an SMTP server if the SMTP server requires authentication.

SwitchParameter

False

Named

False

False

<CommonParameters>

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

Output Object

None.

Examples

Example 1. Modifying SMTP Settings

This command modifies SMTP settings of Veeam Explorer for Microsoft Teams for sending restored items in email messages:

Set-VETSmtpSettings -ConfigureSmtpSettings -Server smtp01.support.local -Port 25 -From j.smith@support.com