Skip to content

allow multiple header values in Wupee #10

@sairam

Description

@sairam

Hi,

I am trying to send multiple header values. In a regular actionMailer I can use

headers['X-Header-Tag'] = ['tag1']
headers['X-Header-Tag'] = ['tag2']

Since wupee is doing a merge of headers as a hash, this is not possible.

Mail::Header can be passed as an object from wupee, but there the serialization is not allowing that.

also, the mailer method is expecting a hash
https://github.com/sleede/wupee/blob/master/app/mailers/wupee/notifications_mailer.rb#L23

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