An email message.
create(), delete(), query(), retrieve(), getDeleted(), getUpdated(), describeSObjects()
| Field | Field Type | Field Properties | Description |
|---|---|---|---|
| ActivityId | reference | Create | ID of the activity that is associated with the email. Usually represents an open task that is created for the case owner when a new unread email message is received. For information on IDs, see ID Field Type. |
| BccAddress | string | Create | The addresses that were sent a blind carbon copy of the email. |
| CcAddress | string | Create | The addresses that were sent a carbon copy of the email. |
| FromAddress | Create | The address that originated the email. | |
| FromName | string | Create | The sender’s name. |
| HasAttachment | boolean | Defaulted on create | Indicates whether the email was sent with an attachment (true) or not (false). |
| Headers | textarea | Create | The Internet message headers of the incoming email. Used for debugging and tracing purposes. Does not apply to outgoing emails. |
| HtmlBody | textarea | Create | The body of the email in HTML format. |
| Incoming | boolean | Create | Indicates whether the email was received (true) or sent (false). |
| IsDeleted | boolean | Defaulted on create |
Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is Deleted. |
| MessageDate | dateTime | Create | The date the email was created. |
| ParentId | ID | Create | ID of the Case to which the email is associated. |
| Status | picklist | Create | Read only. The status of the email. For example, “New,” “Unread,” “Replied,” “Sent.” |
| Subject | string | Create | The subject line of the email. |
| TextBody | textarea | Create | The body of the email, in plain text format. |
| ToAddress | string | Create | The address of the email’s recipient. |