Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.​EmailMessage​Capability

If a feed element has this capability, it has an email message from a case.

Subclass of ConnectApi.​FeedElement​Capability Class.

Property Name Type Description Available Version
attachments List<ConnectApi.​EmailAttachment> The attachments in the email message. 36.0
bccAddresses List<ConnectApi.​EmailAddress> The BCC addresses for the email message. 36.0
body String The body of the email message. 36.0
ccAddresses List<ConnectApi.​EmailAddress> The CC addresses for the email message. 36.0
direction ConnectApi.​EmailMessageDirection The direction of the email message. Values are:
  • Inbound—An inbound message (sent by a customer).
  • Outbound—An outbound message (sent to a customer by a support agent).
32.0
emailMessageId String The ID of the email message. 32.0
fromAddress ConnectApi.​EmailAddress The From address for the email message. 36.0
isRichText Boolean Indicates whether the body of the email message is in rich text format. 36.0
subject String The subject of the email message. 32.0
textBody String The body of the email message.

In version 36.0 and later, use the body property.

Important

32.0–35.0
toAddresses List<ConnectApi.​EmailAddress> The To addresses of the email message. 32.0
totalAttachments Integer The total number of attachments in the email message. 38.0