Message.getSubject

Gets the subject of the message.

class Message
string
getSubject
()

Return Value

Type: string

the subject of the message in a form suitable for display or null if no subject is set. If not null, the returned string will be in UTF-8.