Share via


INETADDRTYPE enumeration

[INETADDRTYPE is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Indicates the type of address and Delivery Status Notification (DSN) request.

Syntax

typedef enum tagINETADDRTYPE { 
  ADDR_TO           = 0,
  ADDR_FROM         = 1,
  ADDR_DSN_NEVER    = 16,
  ADDR_DSN_SUCCESS  = 32,
  ADDR_DSN_FAILURE  = 64,
  ADDR_DSN_DELAY    = 128
} ACCESSTYPE;

Constants

ADDR_TO

Indicates the recipient of the message (To, CC, Bcc).

ADDR_FROM

Indicates the sender of the message.

ADDR_DSN_NEVER

Indicates that all DSN should be suppressed.

ADDR_DSN_SUCCESS

Indicates a request for a DSN on successful delivery.

ADDR_DSN_FAILURE

Indicates a request for a DSN on delivery failure.

ADDR_DSN_DELAY

Indicates a request for a DSN if delivery is delayed.

Remarks

The Simple Mail Transport Protocol (SMTP) protocol distinguishes only between a sender (ADDR_FROM) and recipients (ADDR_TO). A DSN request can made by including the additional DSN flags only if the SMTP server supports DSN (RFC 1891) and the transport connected with an EHLO command.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Imnxport.h
IDL
Imnxport.idl