rebuildArgsForResend()

Overview

public struct function rebuildArgsForResend(
      required string template    
    , required string logId       
    , required struct originalArgs
)

Returns preview params (for use in replacing tokens in subject and body) for the given email template and recipient type.

Arguments

NameTypeRequiredDescription
templatestringYesID of the template of the email that is being prepared
logIdstringYesID of the email template log entry
originalArgsstructYesThe args originally used and stored in the template log