Collections can either be small collections or large collections . Small collections have an item property that allows you to access each object in the collection directly, like an array. Large collections behave more like tables, requiring the use of GetFirst, GetNext, GetPrevious and GetLast methods to navigate through the collection. The attachments collection contains all the attachment objects belonging to a message. Item Attachment Read Used to access an attachment in the collection by index position.
All parameters are optional.
The messages collection contains all the message objects for a folder. It is a large collection. All parameters are optional. Delete None Deletes all messages in the collection GetFirst filter as Char Get the first message in the collection. The filter parameter is optional and corresponds to a message type.