SPWebApplication.OutboundMailSenderAddress Property

Gets or sets the default sender (from) address to use when sending e-mail messages.

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

Syntax

'Declaration
Public Property OutboundMailSenderAddress As String
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As String

value = instance.OutboundMailSenderAddress

instance.OutboundMailSenderAddress = value
public string OutboundMailSenderAddress { get; set; }

Property Value

Type: System.String
A string that contains the e-mail address.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace