This topic has not yet been rated - Rate this topic

SPWebApplication.UpdateMailSettings Method

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

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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 SharePoint Foundation.
nCodePage
Type: System.Int32
A string that specifies the code page to use for outbound messages.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ