SPVirtualServer.OutboundSmtpServer property
NOTE: This API is now obsolete.
Obsolete. Gets the name of the Simple Mail Transfer Protocol (SMTP) server that is used for outbound e-mail.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", _
False)> _
Public ReadOnly Property OutboundSmtpServer As String
Get
'Usage
Dim instance As SPVirtualServer
Dim value As String
value = instance.OutboundSmtpServer
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",
false)]
public string OutboundSmtpServer { get; }
Property value
Type: System.String
A string that contains the name of the SMTP server.