OpenPop.NET POP3 Library Documentation

Pop3Client.GetMessageUids Method

Gets a list of unique IDs for all messages.
Messages marked as deleted are not listed.

public List<string> GetMessageUids();

Return Value

A list containing the unique IDs in sorted order from message number 1 and upwards.


Exception Type Condition
PopServerException If the server did not accept the UIDL command

See Also

Pop3Client Class | OpenPop.Pop3 Namespace