function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AnnieGAnnieG 

About html email status

Hi,
    For the Salesforce HTML email, with which you can track the date it was first opened, the number of times it was opened, and the date it was most recently opened, if we want to integrate with it, which Sobject should we look into? Thanks!
Ron HessRon Hess
The table is EmailStatus, but it's unique, you don't use query() to read this data

review the doc here

i'm sorry to say i don't have any sample code for this one...

Fields

FieldField TypeField PropertiesDescription
EmailTemplateName string Filter

Nillable

The name of the EmailTemplate.
FirstOpenDate dateTime Filter

Nillable

Date when the email was first opened by recipient. Label is Date Opened.
TaskId reference Filter The activity (task or event) associated with the email. Label is Activity ID.
TimesOpened int Filter Number of times the recipient opened the email.
WhoId reference Filter

Nillable

The contact or lead ID associated with the recipient. Label is Contact/Lead ID.

Usage

To retrieve this object, issue a describe call on the object, which will return a query result for each activity since the object was created. You cannot use query.

See Also: