mailFileDescription object

The mailFileDescription object is a system structure containing information about an attachment file to a mail message. A mailFileDescription object has no events.

Properties

mailFileDescription property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

FileType

mailFileType (enumerated)

Specifies the type of the attachment file. Values are:

mailAttach! -- data file.

mailOLE! -- embedded OLE object.

mailOLEStatic! -- static OLE object.

Only mailAttach! is supported for Extended MAPI. If you specify the other value (mailOLE! or mailOLEStatic! ), it will work as mailAttach!

Filename

String

Specifies the name of the attachment file.

Pathname

String

Specifies the full path of the attachment file including the file name.

Position

Unsignedlong

Specifies the position of the attachment file within the message body. Required when sending multiple attachments.


Functions

mailFileDescription function

Datatype returned

Description

ClassName

String

Returns the class of an object.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent object.

TypeOf

Object

Returns the type of the object.