IGraphClient.CreateOrUpdateOverride
CreateOrUpdateOverride(MailAddress, ClassificationType)
Create an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classified as specified in the override. Note: - If an override already exists with the same SMTP address, then the classifyAs and name fields of that override are updated with the provided values. - The maximum number of overrides supported for a mailbox is 1000, based on unique sender SMTP addresses. Permissions: Delegated(work or school account) Mail.ReadWrite Delegated(personal Microsoft account) Mail.ReadWrite Application Mail.ReadWrite
public ClassificationOverride CreateOrUpdateOverride(MailAddress sender,
ClassificationType classifyAs)
Parameter | Type | Description |
---|---|---|
sender | MailAddress | Email address information of the sender for whom the override is created. |
classifyAs | ClassificationType | Value which specifies how incoming messages from a specific sender should always be classified as. |
See Also
- class ClassificationOverride
- class MailAddress
- enum ClassificationType
- interface IGraphClient
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email
CreateOrUpdateOverride(ClassificationOverride)
Create an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classified as specified in the override. Note: - If an override already exists with the same SMTP address, then the classifyAs and name fields of that override are updated with the provided values. - The maximum number of overrides supported for a mailbox is 1000, based on unique sender SMTP addresses. Permissions: Delegated(work or school account) Mail.ReadWrite Delegated(personal Microsoft account) Mail.ReadWrite Application Mail.ReadWrite
public ClassificationOverride CreateOrUpdateOverride(ClassificationOverride classificationOverride)
Parameter | Type | Description |
---|---|---|
classificationOverride | ClassificationOverride |
See Also
- class ClassificationOverride
- interface IGraphClient
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email