The Message Object

Opens access to the message currently under processing.


Subject property

HRESULT get_Subject(BSTR *pVal);

HRESULT put_Subject(BSTR newVal);

Getting or modifying a Message Subject.

pVal

Pointer to BSTR the Message Subject to be placed in.

newVal

BSTR that contains new Message Subject.


SenderName property

HRESULT get_SenderName(BSTR *pVal);

HRESULT put_SenderName(BSTR newVal);

Getting or modifying the message Sender Name.

pVal

Pointer to BSTR the Sender Name to be placed in.

newVal

BSTR that contains new Sender Name.


SenderEmail property

HRESULT get_SenderEmail(BSTR *pVal);

HRESULT put_SenderEmail(BSTR newVal);

Getting or modifying the message Sender Email.

pVal

Pointer to BSTR the Sender Email to be placed in.

newVal

BSTR that contains new Sender Email.


RecipientName property

HRESULT get_RecipientName(BSTR *pVal);

HRESULT put_RecipientName(BSTR newVal);

Getting or modifying the message Recipient Name.

pVal

Pointer to BSTR the Recipient Name to be placed in.

newVal

BSTR that contains new Recipient Name.


RecipientEmail property

HRESULT get_RecipientEmail(BSTR *pVal);

HRESULT put_RecipientEmail(BSTR newVal);

Getting or modifying the message Recipient Email.

pVal

Pointer to BSTR the Recipient Email to be placed in.

newVal

BSTR that contains new Recipient Email.


Text property

HRESULT get_Text(BSTR *pVal);

HRESULT put_Text(BSTR newVal);

Getting or modifying the message Body.

pVal

Pointer to BSTR the message Body to be placed in.

newVal

BSTR that contains new message Body.


Size property

HRESULT get_Size(long *lVal);

Getting the message Size.

lVal

Pointer to long the message size to be placed in.


Account property

HRESULT get_Account(BSTR *pVal);

HRESULT put_Account(BSTR newVal);

Getting or modifying the message Account.

pVal

Pointer to BSTR the Account to be placed in.

newVal

BSTR that contains new Account.


Header property

HRESULT get_Header(BSTR bstrHeader, BSTR *pVal);

Getting the message header.

bstrHeader

BSTR that sepcifies what header is required.

pVal

Pointer to BSTR the specified header value to be placed in.