--- title: "Get-VESPSmtpSettings" description: "Returns SMTP settings. In Veeam Backup & Replication 12.1 and Veeam Backup for Microsoft 365 7a, this cmdlet became deprecated. Use the Get-VESPMailSettingsReturns Veeam Explorer for Microsoft SharePoint email settings." canonical: "https://helpcenter.veeam.com/docs/vbo365/explorers_powershell/get-vespsmtpsettings.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft SharePoint > Get-VESPSmtpSettings" dateModified: "2026-08-20" --- # Get-VESPSmtpSettings ## Short Description Returns SMTP settings. ::: note In Veeam Backup & Replication 12.1 and Veeam Backup for Microsoft 365 7a, this cmdlet became deprecated. Use the [`Get-VESPMailSettings`](get-vespmailsettings.md) cmdlet to get email settings. ::: **Product**: Veeam Backup & Replication, Veeam Backup for Microsoft 365 **Product Edition**: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Get-VESPSmtpSettings [] ``` ## Detailed Description This cmdlet returns SMTP settings configured for Veeam Explorer for Microsoft SharePoint. These settings are needed if you want to send restored SharePoint 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 [`VESPSmtpSettings`](vespsmtpsettings.md) object that contains SMTP settings configured for Veeam Explorer for Microsoft SharePoint. ## Examples ::: example ### Getting SMTP Settings This command returns SMTP settings configured for Veeam Explorer for Microsoft SharePoint. ``` Get-VESPSmtpSettings ``` :::