Set-VETSmtpSettings
Short Description
Modifies SMTP settings.
Note |
In Veeam Backup for Microsoft 365 7a, this cmdlet became deprecated. Use the Set-VETMailSettings cmdlet to define email settings. |
Applies to
Veeam Backup for Microsoft 365
Product Edition: Community, Rental License, Subscription License
Syntax
Set-VETSmtpSettings [-ConfigureSmtpSettings] [-Server <String>] [-Port <Int32>] [-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 |
---|---|---|---|---|---|
ConfigureSMTPSettings | Defines that Veeam Explorer for Microsoft Teams will use the SMTP server settings for sending restored items. Default: False | SwitchParameter | False | Named | 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 |
Port | Specifies a port number. The cmdlet will use this port to connect to the SMTP server. | Int32 | False | Named | False |
From | Specifies an email address from which Veeam Explorer for Microsoft Teams will send restored data. This email account must have the rights to connect to an SMTP server if the SMTP server requires authentication. | String | 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 | SwitchParameter | False | Named | False |
Credentials | Specifies the credentials. The cmdlet will use these credentials for authenticating to an SMTP server. | PSCredential | False | Named | False |
UseSSL | Defines that a secure connection is required for sending emails. If you do not provide this parameter, email messages will be sent through the connection that does not require SSL authentication. Default: False | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
None.
Example
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 |