Share via


SPIncomingEmailService.MaxServerRelativeFileUrlLength property

The maximum number of characters to allow in the server-relative URL of a file created via an incoming email handler.

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

Syntax

'Declaration
Public Property MaxServerRelativeFileUrlLength As Integer
    Get
    Set
'Usage
Dim instance As SPIncomingEmailService
Dim value As Integer

value = instance.MaxServerRelativeFileUrlLength

instance.MaxServerRelativeFileUrlLength = value
public int MaxServerRelativeFileUrlLength { get; set; }

Property value

Type: System.Int32
A 32-bit integer that specifies the ID of the SMTP instance.

Remarks

If this value is too small, email messages could fail to be delivered to lists with longer root folder URLs.

See also

Reference

SPIncomingEmailService class

SPIncomingEmailService members

Microsoft.SharePoint.Administration namespace