Email Factory for .NET

Pop.GetUid Method 

Gets unique message id for a message on POP3 server.

public string GetUid(
   int msg
);

Parameters

msg
The one-based message number to get the unique message id for.

Return Value

A unique message ID or null if not found.

Example

This example returns the message ID of the first message.

[CS]
string uid = myPop.GetUid(1);

[Visual Basic]
Dim uid As String = myPop.GetUid(1)

See Also

Pop Class | Jscape.Email Namespace