Framework EDI Reference. Methods and Properties
mailMessage. MessageID

Gets or sets the Message ID of the message.

Syntax:

 

Remarks:

This property accesses the field header value of the Message-ID header of the message.  Setting and getting this property is equivalent to:

Dim oSubjMsg As Fredi.mailMessage
:
' The following calls are equivalent when setting the Message-ID Header.
'
oSubjMsg.MessageID= "1234@example.com"
oSubjMsg.HeaderFieldValue("Message-ID") = "1234@example.com"


Dim sMessageID As String
::
' The following calls are equivalent when getting the Message-ID Header.
'
sMessageID = oSubjMsg.MessageID
sMessageID = oSubjMsg.HeaderFieldValue("Message-ID")

The field value of the Message-ID should be a globally unique identifier of the message.