getToAddress()

Overview

public string function getToAddress(
      required string recipientType
    , required string recipientId  
)

Returns the to address for the given recipient type and message args.

Arguments

NameTypeRequiredDescription
recipientTypestringYesThe ID of the recipient type whose to address we are to get
recipientIdstringYesID of the recipient of the email