Platform SDK: CDO for Windows 2000

ReplyTo Property

The ReplyTo property specifies the messaging address or addresses to which replies are to be sent.

[Visual Basic]
Property ReplyTo as String
[C++]
HRESULT get_ReplyTo(BSTR* pVal);
HRESULT put_ReplyTo(BSTR Val);
[IDL]
HRESULT [propget] ReplyTo([out,retval] BSTR* pVal);
HRESULT [propput] ReplyTo([in] BSTR Val);

Remarks

This property is also available as the urn:schemas:mailheader:reply-to and urn:schemas:httpmail:reply-to fields.

If the ReplyTo property is not set, the Reply and ReplyAll methods address the reply to the messaging address in the From property.

The default value of the ReplyTo property is an empty string.

See Also

urn:schemas:mailheader:reply-to Field

urn:schemas:httpmail:reply-to Field