Message.setSubject

Set the subject of a message.

Note: The subject string should be in UTF-8.

class Message
void
setSubject
(
string subject
,
string charset = null
)

Parameters

subject string

Subject string

charset string

The charset to use for encoding the subject or null to use the default