--- title: "Get-VETSmtpSettings" description: "Returns SMTP settings. In Veeam Backup for Microsoft 365 7a and Veeam Backup & Replication 12.1, this cmdlet became deprecated. Use the Get-VETMailSettingsReturns Veeam Explorer for Microsoft Teams email settings." canonical: "https://helpcenter.veeam.com/docs/vbo365/explorers_powershell/get-vetsmtpsettings.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft Teams > Get-VETSmtpSettings" dateModified: "2026-08-20" --- # Get-VETSmtpSettings ## Short Description Returns SMTP settings. ::: note In Veeam Backup for Microsoft 365 7a and Veeam Backup & Replication 12.1, this cmdlet became deprecated. Use the [`Get-VETMailSettings`](get-vetmailsettings.md) cmdlet to get email settings. ::: **Product**: Veeam Backup for Microsoft 365 **Product Edition**: Community, Rental License, Subscription License ## Syntax ``` Get-VETSmtpSettings [] ``` ## Detailed Description This cmdlet returns SMTP settings configured for Veeam Explorer for Microsoft Teams. You may want to get information on these settings before sending restored Microsoft Teams items as email attachments. ## Parameters `` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn. ## Output Object The cmdlet returns the [`VETSmtpSettings`](vetsmtpsettings.md) object that contains SMTP settings configured for Veeam Explorer for Microsoft Teams. ## Examples ::: example ### Getting SMTP Settings This command returns SMTP settings configured for Veeam Explorer for Microsoft Teams. ``` Get-VETSmtpSettings ``` :::