markAsHardBounced()

Overview

public void function markAsHardBounced(
      required string id    
    , required string reason
    ,          string code   = ""
)

Marks the given email as hard bounced (cannot deliver due to address unkown)

Arguments

NameTypeRequiredDescription
idstringYesID of the email to mark as failed
reasonstringYesFailure reason to record
codestringNo (default="")Failure code to record