SPWebApplication.UpdateMailSettings method (String, String, String, Int32, Nullable<Boolean>, Int32)

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub UpdateMailSettings ( _
    strOutboundSMTPServer As String, _
    strFromAddress As String, _
    strReplyToAddress As String, _
    nCodePage As Integer, _
    bEnableSsl As Nullable(Of Boolean), _
    nPort As Integer _
)
'Usage
Dim instance As SPWebApplication
Dim strOutboundSMTPServer As String
Dim strFromAddress As String
Dim strReplyToAddress As String
Dim nCodePage As Integer
Dim bEnableSsl As Nullable(Of Boolean)
Dim nPort As Integer

instance.UpdateMailSettings(strOutboundSMTPServer, _
    strFromAddress, strReplyToAddress, _
    nCodePage, bEnableSsl, nPort)
public void UpdateMailSettings(
    string strOutboundSMTPServer,
    string strFromAddress,
    string strReplyToAddress,
    int nCodePage,
    Nullable<bool> bEnableSsl,
    int nPort
)

Parameters

See also

Reference

SPWebApplication class

SPWebApplication members

UpdateMailSettings overload

Microsoft.SharePoint.Administration namespace