Share via


SPGlobalAdmin.MailCodePage property

NOTE: This API is now obsolete.

Use the UpdateMailSettings method of the SPAdministrationWebApplication class to update default mail settings instead. (In Windows SharePoint Services 2.0, the MailCodePage property got the language code page used for e-mail messages, and is maintained for backward compatibility.)

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

Syntax

'Declaration
<ObsoleteAttribute("Default mail settings are now updated through SPAdministrationWebApplication.Local.UpdateMailSettings().",  _
    False)> _
Public ReadOnly Property MailCodePage As Integer
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As Integer

value = instance.MailCodePage
[ObsoleteAttribute("Default mail settings are now updated through SPAdministrationWebApplication.Local.UpdateMailSettings().", 
    false)]
public int MailCodePage { get; }

Property value

Type: System.Int32
A 32-bit integer that specifies the code page.

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace