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.EnvelopeRecipientThe recipient to whom delivery has failed.
smtpResponse
Type: Microsoft.Exchange.Data.Transport.Smtp.SmtpResponseThe SMTP response to send.
See also
Reference
DeliverMailItemEventSource class