共用方式為


OutboundSmtpServer Property

The OutboundSmtpServer property of the SPGlobalAdmin class gets the name of the SMTP server used for e-mail in the Microsoft Windows SharePoint Services deployment.

Property Value

A string that contains the name of the SMTP server.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security