DeletePart Method

Delete the specified message part in the current message.

Syntax

object.DeletePart( [Part] )

The DeletePart method syntax has the following parts:

Part Description
object An object expression that evaluates to an InternetMail object.
part A long integer which specifies the message part to delete.

Return Type

Integer

Remarks

The DeletePart method deletes the specified message part in the current message. If the optional message part is not specified, then the current message part is deleted.

This method will return value of zero if the action was successful. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

See Also

AttachFile Method, CreatePart Method


Copyright © 2008 Catalyst Development Corporation. All rights reserved.