SMTPMESSAGE2 structure
[SMTPMESSAGE2 is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Extends an SMTPMESSAGE structure to add Delivery Status Notification (DSN) (RFC 1891) support.
Syntax
typedef struct tagSMTPMESSAGE2 {
SMTPMESSAGE smtpMsg;
LPSTR pszDSNENVID;
DSNRET dsnRet;
DWORD dwReserved;
DWORD dwReserved2;
} SMTPMESSAGE2, *LPSMTPMESSAGE2;
Members
-
smtpMsg
-
Type: SMTPMESSAGE
-
Contains the SMTPMESSAGE structure that contains the message.
-
pszDSNENVID
-
Type: LPSTR
-
Contains an LPSTR that contains the value for the envelope ID of the message so that the return message can be matched against the original message (the ENVID parameter of the MAIL command).
-
dsnRet
-
Type: DSNRET
-
Contains a DSNRET value that indicates whether to return the full message or just the headers for a bounced message (the RET parameter of the MAIL command).
-
dwReserved
-
Type: DWORD
-
Do not use.
-
dwReserved2
-
Type: DWORD
-
Do not use.
Remarks
To receive a DSN the Simple Mail Transport Protocol (SMTP) server must implement RFC 1891 and the SMTP transport must be initialized 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 |
|
IDL |
|