Hunny Software Library Reference

Imap4Client.UidFetch Method

Sends a UID FETCH command.

Overload List

Sends a UID FETCH command with a range of message UIDs.

public void UidFetch(int,int,string);

Sends a UID FETCH command with a single message UID.

public void UidFetch(int,string);

Sends a UID FETCH command with a set of message UIDs.

public void UidFetch(string,string);

Remarks

A UID FETCH command is similar to a FETCH command, with one difference: a UID FETCH command specifies messages by their unique identifiers (UIDs) instead of their sequence numbers.

The third version of the overloaded method allows information for multiple messages to be fetched, as specified by a set of message UIDs. The messageSet parameter should specify a set of UIDs in the syntax given in RFC 3501. In this syntax, individual UIDs or UID ranges are separated by commas, and ranges are indicated by a colon.

See Also

Imap4Client Class | Hunny.Mail Namespace | Fetch method | FetchResponse | UID command in the IMAP4 specification