Udostępnij za pośrednictwem


SmtpReceiveAgent Class

The SmtpReceiveAgent class is the base class for agent classes that use Simple Mail Transfer Protocol (SMTP) receive events.

Inheritance Hierarchy

System.Object
  Microsoft.Exchange.Data.Transport.Agent
    Microsoft.Exchange.Data.Transport.Smtp.SmtpReceiveAgent

Namespace:  Microsoft.Exchange.Data.Transport.Smtp
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustInherit Class SmtpReceiveAgent _
    Inherits Agent
'Usage
Dim instance As SmtpReceiveAgent
public abstract class SmtpReceiveAgent : Agent

Remarks

Warning

Transport agents have full access to all e-mail messages that they encounter. Exchange puts no restrictions on a transport agent's behavior. Transport agents that are unstable or contain security flaws may affect the stability and security of Exchange. Therefore, you must only install transport agents that you fully trust and that have been fully tested in a test environment.

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.