getOpenedCount()

Overview

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

Gets a comulative count of opened 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