AddressBookEntry.IsSafeSender Method
When overridden in a derived class, the IsSafeSender method returns a value that indicates whether a message to the recipient that is specified by the senderAddress parameter to the recipient that is represented by this instance of the AddressBookEntry class should bypass anti-spam tests.
Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)
Syntax
'Declaration
Public MustOverride Function IsSafeSender ( _
senderAddress As RoutingAddress _
) As Boolean
public abstract bool IsSafeSender (
RoutingAddress senderAddress
)
public:
virtual bool IsSafeSender (
RoutingAddress senderAddress
) abstract
public abstract boolean IsSafeSender (
RoutingAddress senderAddress
)
public abstract function IsSafeSender (
senderAddress : RoutingAddress
) : boolean
Parameters
- senderAddress
An instance of the RoutingAddress class that represents the sender to check for anti-spam bypass for messages to the recipient that is represented by this instance of the AddressBookEntry class.
Return Value
The IsSafeSender method returns true if the address for the sender that is specified by the senderAddress parameter is in the list of trusted senders for the recipient that is represented by this instance of the AddressBookEntry class or if the domain for the sender that is specified by the senderAddress parameter is in the list of trusted domains for the recipient that is specified by this instance of the AddressBookEntry class; otherwise, the method returns false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003