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

NameTypeRequiredDescription
idstringYesID of the email to mark as opened
softMarkbooleanNo (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.
userAgentstringNo
ipAddressstringNo
eventDatedateNo