clearQueue()

Overview

public numeric function clearQueue(
      string templateId = ""
)

Clears queued emails optionally filtered by template ID

Arguments

NameTypeRequiredDescription
templateIdstringNo (default="")Optioanl id of the template whose queued emails you wish to clear. If not provided, all queued emails will be cleared