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 adding custom vars when recipients functionality is used #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcinkoziej
Copy link

Hi,
this patch implements a way to add Vars for each recpient, when used Mialjet recipients parameter.https://dev.mailjet.com/email/guides/send-api-V3/#personalization

I decided for put_recipient_vars to accept a list of vars (maps). In bamboo MailjetHelper, a function is passed to generate personalization, but here it seems that it would make it more complicated.

I adds a test for it and also a test for working with custom user struct and implementing Formatter.

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

Successfully merging this pull request may close these issues.

1 participant