Share via


SPIncomingEmailService.UseAutomaticSettings property

Gets or sets a Boolean value that specifies whether incoming e-mail settings are automatically gathered from the default Internet Information Services (IIS) Simple Mail Transfer Protocol (SMTP) instance.

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

Syntax

'Declaration
Public Property UseAutomaticSettings As Boolean
    Get
    Set
'Usage
Dim instance As SPIncomingEmailService
Dim value As Boolean

value = instance.UseAutomaticSettings

instance.UseAutomaticSettings = value
public bool UseAutomaticSettings { get; set; }

Property value

Type: System.Boolean
true to automatically gather incoming e-mail settings from the default IIS SMTP instance; otherwise, false.

See also

Reference

SPIncomingEmailService class

SPIncomingEmailService members

Microsoft.SharePoint.Administration namespace