CheckIncomingEmailResponse.ReasonCode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the reason for the result in the ShouldDeliver property.
public:
property int ReasonCode { int get(); };
public int ReasonCode { get; }
member this.ReasonCode : int
Public ReadOnly Property ReasonCode As Integer
Property Value
The reason for the failure.
Remarks
The reason code is one of these values:
Field | Value | Description |
---|---|---|
Unknown | -1 | Specifies an unknown reason. |
Duplicate | 0 | Specifies a duplicate e-mail message. |
NoCorrelationMatch | 1 | Specifies that the Dataverse CorrelationToken is present on the subject line but does not map to anything in Dataverse. |
CorrelationMatch | 2 | Specifies that the Dataverse CorrelationToken on the subject line maps to a value in Dataverse. |
NoRecipientMatch | 3 | Specifies that none of the recipients are users in Dataverse. |
InternalEmailReject | 4 | Email delivery determined that the e-mail is internal communication and the e-mail will be rejected. |
SenderMatch | 5 | Email accepted because of the sender. |
AcceptAll | 6 | A recipient accepts all emails. |
InvalidSender | 7 | The sender email address could not be found or is invalid. |