Skip to content

addSubstitution only adds the last element of the list #2

@iamigo

Description

@iamigo
List<String> vals = new List<String> { 'val1', 'val2', 'val3' };
email.addSubstitution('sub', vals);

The above code will add the "sub" JSON but will only have "val3" in the substitution list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions