markAsOpened()
Overview
public void function markAsOpened(
required string id
, boolean softMark = false
, string userAgent
, string ipAddress
, date eventDate
)
Marks the given email as opened
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | ID of the email to mark as opened |
| softMark | boolean | No (default=false) | Used when some other action has occurred that indicates that the message was therefore opened. i.e. we may not know *when* but we do now know that it *was* opened. |
| userAgent | string | No | |
| ipAddress | string | No | |
| eventDate | date | No |