Partilhar via


SPVirtualServer.MailFromAddress Property

NOTE: This API is now obsolete.

Obsolete. Gets the From address used in e-mail for the server.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property MailFromAddress As String
    Get
'Usage
Dim instance As SPVirtualServer
Dim value As String

value = instance.MailFromAddress
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public string MailFromAddress { get; }

Property Value

Type: System.String
A string that contains the From address.

See Also

Reference

SPVirtualServer Class

SPVirtualServer Members

Microsoft.SharePoint.Administration Namespace