ConnectApi.EmailMessage Class

Important

Important

This class isn’t available in version 32.0 and later. In version 32.0 and later, ConnectApi.​EmailMessage​Capability is used.

Subclass of ConnectApi.​FeedItem​Attachment Class

An email message from a case.

Name Type Description Available Version
direction ConnectApi.Email​MessageDirection Enum The direction of the email message.
  • Inbound—An inbound message (sent by a customer).
  • Outbound—An outbound message (sent to a customer by a support agent).
29.0–31.0
emailMessageId String The ID of the email message. 29.0–31.0
subject String The subject of the email message. 29.0–31.0
textBody String The body of the email message. 29.0–31.0
toAddresses List<ConnectApi.EmailAddress> A list of email addresses to send the message to. 29.0–31.0
Previous
Next