Help Center

CDOMessage.DSNOptionsmethod

Includes a request for a return report on the delivery status of the message.

COMmethodCDOMessage.incdocumented

Syntax

FUNCTION DSNOptions (BYVAL BYVAL pDSNOptions AS CdoDSNOptions) AS HRESULT

Parameters

NameDescription
pDSNOptionsDelivery Status Notifications are essentially requests for receipts of message delivery status. The request can be for the enumerated delivery conditions. Note that Delivery Status Notifications can pass through numerous message transfer agents and thus return receipts can have different meanings. DSNOptions defines the type of Delivery Status Notification requested per Request for Comments (RFC) 1894. The RFC covers the nature and uses of Delivery Status Notifications in depth.

Return value

S_OK (0) or an HRESULT code.

Description

Includes a request for a return report on the delivery status of the message.

The CdoDSNOptions enumeration is provided for this property.

Reference

  • Include file CDOMessage.inc
  • Defined in AfxNova/CDOMessage.inc:312
  • Documented in COM/CDOMessage Class.md
  • Topic: CDOMessage Class