Export (0) Print
Expand All

SPWebApplication.UpdateMailSettings Method

Windows SharePoint Services 3

Updates the e-mail settings that are used when Windows SharePoint Services sends email.

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

public void UpdateMailSettings(
	string strOutboundSMTPServer,
	string strFromAddress,
	string strReplyToAddress,
	int nCodePage
)

Parameters

strOutboundSMTPServer
Type: System.String
A string that contains the name of the outbound SMTP server.
strFromAddress
Type: System.String
A string that contains the "from" address to use for messages.
strReplyToAddress
Type: System.String
A string that contains the reply address that appears in messages generated by Windows SharePoint Services.
nCodePage
Type: System.Int32
A string that specifies the code page to use for outbound messages.

Community Additions

ADD
Show:
© 2015 Microsoft