The GetMessageId method returns the message identifier from
the Message-ID header of the specified message. The returned value is
a typically a string which specifies the domain, date and timestamp
for the message that is created when the message is submitted to the
mail server for delivery. To obtain a unique identifier for the
message in the mailbox, it is recommended that you use the
GetMessageUID method instead.
This method uses the XTND XLST command to obtain the value of the
"Message-ID" header field. If this command is not supported
by the server, the method will attempt to retrieve the entire message
header and return the header value . This enables an application to
use this method even if the server does not support command
extensions.