Gets unique message id for a message on POP3 server.

Namespace: Jscape.Email
Assembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0

Syntax

C#
public string GetUid(
	int msg
)
Visual Basic
Public Function GetUid ( _
	msg As Integer _
) As String
Visual C++
public:
String^ GetUid(
	int msg
)

Parameters

msg
Type: System..::..Int32
The one-based message number to get the unique message id for.

Return Value

A unique message ID or null if not found.

Examples

This example returns the message ID of the first message.
CopyPop GetUid
string uid = myPop.GetUid(1);

CopyPop GetUid
Dim uid As String = myPop.GetUid(1)

See Also