DeliverMailItemEventSource.AckRecipientFail Method
When overridden in a derived class, the AckRecipientFail(EnvelopeRecipient, SmtpResponse) method indicates that delivery of a mail item to a specific recipient has failed.
Namespace: Microsoft.Exchange.Data.Transport.Delivery
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public MustOverride Sub AckRecipientFail ( _
recipient As EnvelopeRecipient, _
smtpResponse As SmtpResponse _
)
'Usage
Dim instance As DeliverMailItemEventSource
Dim recipient As EnvelopeRecipient
Dim smtpResponse As SmtpResponse
instance.AckRecipientFail(recipient, _
smtpResponse)
public abstract void AckRecipientFail(
EnvelopeRecipient recipient,
SmtpResponse smtpResponse
)
Parameters
- recipient
Type: Microsoft.Exchange.Data.Transport.EnvelopeRecipient
The recipient to whom delivery has failed.
- smtpResponse
Type: Microsoft.Exchange.Data.Transport.Smtp.SmtpResponse
The SMTP response to send.