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)

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