--- title: "Get-VEODSmtpSettings" description: "Returns SMTP settings. In Veeam Backup for Microsoft 365 7a and Veeam Backup & Replication 12.1, this cmdlet became deprecated. Use the Get-VEODMailSettingsReturns Veeam Explorer for Microsoft OneDrive email settings." canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/get-veodsmtpsettings.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft OneDrive > Get-VEODSmtpSettings" dateModified: "2026-08-18" --- # Get-VEODSmtpSettings ## 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-VEODMailSettings`](get-veodmailsettings.md) cmdlet to get email settings. ::: **Product**: Veeam Backup for Microsoft 365 **Product Edition**: Community, Rental License, Subscription License ## Syntax ``` Get-VEODSmtpSettings [] ``` ## Detailed Description This cmdlet returns SMTP settings configured for Veeam Explorer for Microsoft OneDrive. These settings are required if you want to send restored OneDrive 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 Docs. ## Output Object The cmdlet returns the [`VBOOneDriveSmtpSettings`](vboonedrivesmtpsettings.md) object that contains SMTP settings configured for Veeam Explorer for Microsoft OneDrive. ## Examples ::: example ### Getting SMTP Settings This command returns SMTP settings configured for Veeam Explorer for Microsoft OneDrive. ``` Get-VEODSmtpSettings ``` :::