Previous PageNext Page

11.3.3 The Attachment Interface

The POP3 control's Attachments collection in Message object provides access to the attachments currently in a mail. The properties, methods of the Attachment object described here are used to access those attachments.
 
Properties
  • FileName
  • ContentType
  • FileSize
  • Base64
Methods
  • SaveToFile
  • Read

11.3.3.1 Property Details

FileName (read)

A string that indicates the name of the attachment.

ContentType (read)

A string that indicates the content type of this attachment.

FileSize (read)

A number indicates the size of the attachment in byte.

Base64 (read)

A Boolean value indicates if the attachment is Base64 encoded.

11.3.3.2 Method Details

SaveToFile

Save the attachment on the server.

Arguments

Directory

The full directory path on the server.

Read

Save the attachment on the server.

Arguments

Nsize

The number of bytes to read from the attachment. This argument is optional. If missing, the whole attachment will be read.

Pbytes

A safearray of Byte.


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page