Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow multiple header values in Wupee #10

Open
sairam opened this issue Apr 26, 2017 · 2 comments
Open

allow multiple header values in Wupee #10

sairam opened this issue Apr 26, 2017 · 2 comments

Comments

@sairam
Copy link
Contributor

sairam commented Apr 26, 2017

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

@nflorentin
Copy link
Contributor

Hi,

thanks for the report! you're right, any idea to solve this problem ?
I'm not having much time at the moment.

thanks!

@sairam
Copy link
Contributor Author

sairam commented Apr 26, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants