See Also

AddressList Class  | AddressList Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

Show All

Raises when individual recipient addresses are rejected by the server.

[Visual Basic]
Public Event AddressRefused() As RefusedRecipientEventHandler
[C#]
public event RefusedRecipientEventHandler AddressRefused();

Event Data

The event handler receives an argument of type RefusedRecipientEventArgs containing data related to this event. The following RefusedRecipientEventArgs properties provide information specific to this event.

PropertyDescription
Address Gets the reference for refused Address.
Message Gets the reference of the Message where the event occurs.
SmtpResponse Gets the reference of type SmtpResponse.

Remarks

Once if server rejects the recipient, it will not send the failure delivery acknowledgement, even if the To header contains the name & address of rejected recipient.

This event will raised only when recipient in the corresponding list is get rejected. If AddressRefused also had specified, then both the event will raised in order of specific (event for corresponding AddressList) and general (event specified Message)

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

AddressList Class  | AddressList Members

 

 


© Copyright 2006, ceTe Software