markAsSent()

Overview

public void function markAsSent(
      required string id        
    ,          string templateId = ""
)

Marks the given email as sent

Arguments

NameTypeRequiredDescription
idstringYesID of the email to mark as sent
templateIdstringNo (default="")ID of the email template