Partager via


DeliveryMethod Enumeration

The DeliveryMethod enumeration indicates the direction in which a message is coming or going.

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

Syntax

'Declaration
Public Enumeration DeliveryMethod
'Usage
Dim instance As DeliveryMethod
public enum DeliveryMethod

Members

Member name Description
Unknown The direction of the message cannot be determined.
File For an incoming message, the message comes from the pickup directory, the replay directory, a Delivery Status Notification (DSN), or the mail submission API. For an outgoing message, the message is going to a server that is not a Simple Mail Transfer Protocol (SMTP) server or it is an application message on the destination server.
Mailbox The message is coming from or going to a mailbox.
Smtp The message is coming from or going to an SMTP endpoint.
DeliveryAgent The message is coming from a Delivery Agent.