Share via


SMTPRESPONSE structure

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

Contains information about a Simple Mail Transport Protocol (SMTP) response.

Syntax

typedef struct tagSMTPRESPONSE {
  SMTPCOMMAND    command;
  BOOL           fDone;
  IXPRESULT      rIxpResult;
  ISMTPTransport *pTransport;
  SMTPSTREAM     rStreamInfo;
} SMTPRESPONSE, *LPSMTPRESPONSE;

Members

command

Type: SMTPCOMMAND

Contains the SMTPCOMMAND for which the response was generated.

fDone

Type: BOOL

Contains a BOOL that indicates whether the command finished. The client should wait until this member is True before issuing another SMTP command through the ISMTPTransport object.

rIxpResult

Type: IXPRESULT

Contains an IXPRESULT structure that contains the information about the server response. If rIxpResult.hrResult specifies a FAILED result, the structure contains other information.

pTransport

Type: ISMTPTransport*

Contains a pointer to the ISMTPTransport object that generated the OnResponse call.

rStreamInfo

Type: SMTPSTREAM

Contains the SMTPSTREAM structure that contains information about the message stream. This structure occupies the union when command is equal to SMTP_SEND_STREAM.

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