--- title: "Get-VEXSmtpSettings" description: "Returns SMTP settings. In Veeam Backup for Microsoft 365 7a and Veeam Backup & Replication 12.1, this cmdlet became deprecated. Use the Get-VEXMailSettingsReturns Veeam Explorer for Microsoft Exchange email settings." canonical: "https://helpcenter.veeam.com/docs/vbo365/explorers_powershell/get-vexsmtpsettings.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft Exchange > Get-VEXSmtpSettings" dateModified: "2026-08-20" --- # Get-VEXSmtpSettings ## 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-VEXMailSettings`](get-vexmailsettings.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-VEXSmtpSettings [] ``` ## Detailed Description This cmdlet returns SMTP settings configured for Veeam Explorer for Microsoft Exchange. You may want to get information on these settings before sending restored mailbox 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 [`VEXSmtpSettings`](vexsmtpsettings.md) object that contains SMTP settings configured for Veeam Explorer for Microsoft Exchange. ## Examples ::: example ### Getting SMTP Settings This command returns SMTP settings configured for Veeam Explorer for Microsoft Exchange. ``` Get-VEXSmtpSettings ``` :::