markAsFailed()

Overview

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

Marks the given email as failed

Arguments

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