wodImapServer ActiveX Component - ImapMessage Object
    
 
Description

ImapMessage Class


Object Model





Remarks
Message object is used in two cases:

1. It holds specific message in the mailbox file.
2. If holds specific part in the message.

Which one is used? How do I find the difference in them? Well, you don't. Messages and message parts are basically the same - they contains few headers, one empty line, and some text. So, when message is multipart, this means that each part holds structure same as the message itself.

Why we didn't use some sort of Part object that is similar to message object, but points to different structure? It's because this would be much of overhead to existing interface, but quality would be degraded. Working this way, you can access unlimited number of nested messages or message parts.


Members
Properties
Body Read-only property Holds complete body of message, including headers.
EndPosition Read-write property Determines end position of message in the file.
Filename Read-write property Determines filename where message is stored.
Flags Read-write property Holds message flags.
Headers Read-only property References collection of headers for the message.
Index Read-only property Returns index of the message in the collection.
Parts Read-only property References collection of parts for the message.
Size Read-only property Returns size of the message.
StartPosition Read-write property Determines starting position of message in the file.
Tag Read-write property Tag for misc usage.
Text Read-only property Holds body (without headers).
UID Read-write property Holds message unique ID.