Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
Supports authoring of restricted workflow scripts.
Properties
Name | Type | Description |
---|---|---|
Attachments
(Read-Only) |
[Visual Basic] IBodyParts [C++,IDL] IBodyParts * |
Returns the collection of attachments for this message. |
AutoGenerateTextBody | [Visual Basic] Boolean [C++,IDL] VARIANT_BOOL |
Indicates whether the TextBody of a message should automatically be generated from the contents of the HTMLBody property for a multipart/alternative message. |
BCC | [Visual Basic] String [C++,IDL] BSTR |
The blind copy (Bcc) recipients for this message. |
BodyPart
(Read-Only) |
[Visual Basic] IBodyPart [C++,IDL] IBodyPart * |
Returns the IBodyPart interface on this object. |
CC | [Visual Basic] String [C++,IDL] BSTR |
Contains a list of copy (Cc) recipients for this message. |
Configuration | [Visual Basic]Configuration [C++,IDL] IConfiguration* |
An IConfiguration interface reference to a Configuration object. This object defines the messaging configuration used by the Message object. |
EnvelopeFields
(Read-Only) |
[Visual Basic] ADODB.Fields [C++,IDL] Fields* |
A collection of fields associated with the SMTP or NNTP transport envelope of the message. |
Fields
(Read-Only) |
[Visual Basic] ADODB.Fields [C++,IDL] Fields* |
Returns the collection of Fields for this object. |
FollowUpTo | [Visual Basic] String [C++,IDL] BSTR |
Specifies which newsgroups any responses to this message should be posted to. |
From | [Visual Basic] String [C++,IDL] BSTR |
Contains the messaging address of the principal author of this message. |
HTMLBody | [Visual Basic] String [C++,IDL] BSTR |
Contains the HTML representation of the body of this message. |
HTMLBodyPart
(Read-Only) |
[Visual Basic] IBodyPart [C++,IDL] IBodyPart* |
Returns a reference to a BodyPart object in which the HTML content of this message is stored. |
Keywords | [Visual Basic] String [C++,IDL] BSTR |
Contains a list of keywords assigned to this message. |
MIMEFormatted | [Visual Basic] Boolean [C++,IDL] VARIANT_BOOL |
Indicates whether this message is to be formatted as multipart/alternative. |
Newsgroups | [Visual Basic] String [C++,IDL] BSTR |
Specifies which newsgroups this message belongs to. |
Organization | [Visual Basic] String [C++,IDL] BSTR |
Contains a description of the organization the sender belongs to. |
ReceivedTime
(Read-Only) |
[Visual Basic] Date [C++,IDL] DATE |
Returns the date/time this message was delivered to the server. |
ReplyTo | [Visual Basic] String [C++,IDL] BSTR |
Contains the messaging address to which replies to this message should be sent. |
Sender | [Visual Basic] String [C++,IDL] BSTR |
Contains the messaging address of the submitter of this message. |
SentOn
(Read-Only) |
[Visual Basic] Date [C++,IDL] DATE |
Returns the date/time this message was submitted to the server. |
Subject | [Visual Basic] String [C++,IDL] BSTR |
Contains the subject of this message. |
TextBody | [Visual Basic] String [C++,IDL] BSTR |
Contains the plain text representation of the body of this message. |
TextBodyPart
(Read-Only) |
[Visual Basic] IBodyPart [C++,IDL] IBodyPart * |
Returns a body part object containing the text content of this message. |
To | [Visual Basic] String [C++,IDL] BSTR |
Contains a list of principal (To) recipients for this message. |
Methods
Name | Description |
---|---|
AddAttachment | Adds an attachment to this message. |
AddRelatedBodyPart | Adds a MHTML-related body part to the message's content. |
CreateMHTMLBody | Converts the contents of an entire Web page into MHTML-formatted body parts on this message |
GetStream | Returns the Stream object containing the complete message, including headers and all content, in serialized (wire-transport) format. |
Post | Submits this message to the specified newsgroups. |
Send | Sends the message. Does not add to tracking table. |
SendWorkflowMessage | Provides a 'send' method when the user does not have Windows 2000 credentials. Adds to tracking table. Unique to Workflow. |
This is the only object that you can create in a restricted workflow script. IWorkflowMessage contains the COM class CDO.Message, however it doesn't support all the methods and properties of IMessage for security reasons. IWorkflowMessage forwards calls to common methods and properties to the IMessage object. You will be linked directly to the documentation for IMessage properties and methods where appropriate.
You can not create a WorkflowMessage object directly. Use the WorkflowSession object to get a WorkflowMessage object.
Dim WfMsg WfMsg = WorkflowSession.GetNewWorkflowMessage() 'Do something with WfMsg