markAsOpened()

Overview

public void function markAsOpened(
      required string  id          
    ,          boolean softMark     = false
    ,          boolean skipActivity = 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.
skipActivitybooleanNo (default=false)
userAgentstringNo
ipAddressstringNo
eventDatedateNo