MCFMultiPart Class Methods

In this section, we discuss the MCFMultiPart class methods. The methods are described in alphabetical order.

Syntax

AddBodyPart(&bodyPart)

Description

Use the AddBodyPart method to add the specified body part to this multipart email.

Parameters

Field or Control

Definition

&bodyPart

Specify an already instantiated MCFBodyPart object.

Returns

None.

Syntax

GetBodyPart(Index)

Description

Use the GetBodyPart method to return a reference to the body part specified by Index.

Parameters

Field or Control

Definition

Index

Specify the numeric position of the body part you want to access.

Returns

A reference to an MCFBodyPart object.

Syntax

GetContentType()

Description

Use the GetContentType method to determine the content type.

Parameters

None.

Returns

A string.

Syntax

GetCount()

Description

Use the GetCount method to return the number of parts in the MCFMultiPart object.

Parameters

None.

Returns

A number.