:SetMessagePart()


Class

     aprMIME()

 

Syntax

     :SetMessagePart( nPart, [hMessage] ) -> nLastPart

 

Parameters

 

 

nPart

Set the current Message Part to act on for future calls.

 

hMessage

Optional. Handle of the message to act on. Provided during :CreateMessage() operation

 

Return

If the function succeeds, the return value is the previous message part index.

If the function fails, the return value is MIME_ERROR. To get extended error information, look at :nErr and :cErr

 

Description

The :SetMessagePart() method sets the current message part index for the specified message.

Determines the Message Part that will be acted upon during subsequent manipulation.

 

See Also

:GetMessagePart(), :CreateMessagePart(), :CreateMessage()