Dart.Mail Namespace > Pop Class : Messages Property |
Public ReadOnly Property Messages As PopMessageCollection
Dim instance As Pop Dim value As PopMessageCollection value = instance.Messages
public PopMessageCollection Messages {get;}
public: __property PopMessageCollection* get_Messages();
public: property PopMessageCollection^ Messages { PopMessageCollection^ get(); }
Messages on the POP server are managed by referencing Pop.Messages[n]. This list is used to retrieve full or partial messages.
It is populated when the POP server is in the "transaction" state, which occurs after authentication and before logging out. At other times the length of this list is 0. This collection is 0-based, although POP servers will assign an ID that is 1-based. This means that after login, the POP message with ID "1" can be found at Pop.Messages[0], ID "2" at Pop.Messages[1], etc.