allow multiple header values in Wupee
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
Hi,
thanks for the report! you're right, any idea to solve this problem ? I'm not having much time at the moment.
thanks!
I passed in a hash in the header and modified it in an after_action method.
I will check and try to send in a PR over the weekend.