:DeleteMessagePart()


Class

     aprMIME()

 

Syntax

     :DeleteMessagePart( nMessagePart, [hMessage] ) -> lSuccess

 

Parameters

 

nMessagePart

The message part index to delete; this is the value returned by the :CreateMessagePart() method.

 

hMessage

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

 

Return

Logical indicating Success.

Returns .T. if the operation succeeds, otherwise returns .F.

 

Description

The :DeleteMessagePart() method deletes the specified message part from the multipart message.

The memory allocated for the message part is released.

  

See Also

:AttachFile(), :CreateMessage(), :CreateMessagePart(), :GetMessagePart(), :GetMessagePartCount(), :SetMessagePart(), :DeleteMessage()