markAsDelivered()

Overview

public void function markAsDelivered(
      required string  id      
    ,          boolean softMark = false
)

Marks the given email as delivered

Arguments

NameTypeRequiredDescription
idstringYesID of the email to mark as delivered
softMarkbooleanNo (default=false)Used when some other action has occurred that indicates that the message was therefore delivered. i.e. we may not know *when* but we do now know that it *was* delivered.