Share via


UpdateMailSettings Method

The UpdateMailSettings method of the SPVirtualServer class updates settings on the Simple Mail Transfer Protocol (SMTP) server that are used for e-mail on the virtual server.

Parameters

strOutboundSMTPServer   A string that specifies the SMTP server to use for outbound mail.

strFromAddress   A string that contains the From address that is used for mail from the server.

strReplyToAddress   A string that contains the Reply To address that is used for mail to the server.

nCodePage   A 32-bit integer that specifies the language code page that is used for e-mail.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security