Skip to content

Support multiple headers with same key #289

@rvman

Description

@rvman

I've run into a situation where I need to be able to apply several headers with the same key to an email, but it seems that the internals for adding headers to an email is defined as a Map, which precludes duplicates.

Is there a way to add the same header multiple times with different values?

Perhaps making the value of EmailBuilder.withHeader() accept a List as the second argument, which would get converted into the same header repeated for each item in the list?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions