This topic has not yet been rated - Rate this topic

SPIncomingEmailService class

Represents the service that is used in Microsoft SharePoint Foundation for incoming e-mail timer jobs.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[GuidAttribute("1F503A44-EA73-498E-B002-F6037E004D84")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPIncomingEmailService : SPService

An incoming e-mail timer job only runs on front-end Web servers on which the service is active. The SPIncomingEmailService class stores the farm-wide settings for incoming e-mail.

To return the parent service of an incoming e-mail service instance, use the inherited Service property of the SPIncomingEmailServiceInstance class. You can also use the GetChild method of the SPPersistedObject class to return the incoming e-mail service, for example: SPFarm.Local.GetChild<SPIncomingEmailService>().

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.