Message.getMessageId

Gets the Message-Id header of message.

class Message
string
getMessageId
()

Return Value

Type: string

the Message-Id of a message, or null if not specified.