getDeliveredCount()

Overview

public numeric function getDeliveredCount(
      required string templateId
    ,          string dateFrom   = ""
    ,          string dateTo     = ""
)

Gets a count of delivered emails sent in the given timeframe for the given template.

Arguments

NameTypeRequiredDescription
templateIdstringYesID of the template to get counts for
dateFromstringNo (default="")Optional date from which to count
dateTostringNo (default="")Optional date to which to count