markAsFailed()
Overview
public void function markAsFailed(
required string id
, required string reason
, string code = ""
)
Marks the given email as failed
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | ID of the email to mark as failed |
| reason | string | Yes | Failure reason to record |
| code | string | No (default="") | Failure code to record |