Constructors
SpmMessage()
Methods
save()
Saves an SpmMessage object. If this is a new SpmMessage object (no ID set), a new one will be created.setBody(String)
Sets the body version of the SpmMessage object (will correspond to the text/plain version in the outgoing email).setBodyHtml(String)
Sets the HTML body version of the SpmMessage object (will correspond to the text/html version in the outgoing email).setDescription(String)
Sets the descriptive text of the SpmMessage.It is not used in the outgoing email, but will be visible when listed in Service.
setFolderId(Integer)
Sets the folder which this SpmMessage will be stored in.If you specify a folder ID that does not exist, the message will not be visible through Service.