This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
The Forward method creates and returns another message that can be used to forward this message.
Microsoft CDO for Exchange 2000 Library
DLL Implemented In
[Visual Basic]Function Forward
() As CDO.Message
[C++]HRESULT Forward ( IMessage** pVal );
- Returned reference to an IMessage Interface.
Returns S_OK if successful, or an error value otherwise.
The Forward method returns the IMessage interface on the new message.
If the configuration field usemessageresponsetext Field is set to TRUE (VARIANT_TRUE), then the original message is formatted using the following:
-----Original Message----- From:"Person" <firstname.lastname@example.org> Sent:Tue, 23 Mar 1998 12:41:37 -0800 To:"Person A" <personA@example.com> Subject:Hello There
The message response text is localized into the language specified by the languagecode Field.
The Forward method retains all the attachments from this message but does not set any recipients on the new message.