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

Implement an add_headers function to Personalization struct in V3 #25

Closed
brizental opened this issue Jun 12, 2018 · 1 comment
Closed

Comments

@brizental
Copy link
Contributor

This is so that I can add custom x headers to my email messages.

I was thinking something like https://github.com/gsquire/sendgrid-rs/blob/master/src/v3.rs#L233-L244 that will receive a vector of headers as an argument, loop over that and add them one by one.

I'd be happy to send a PR for that, I just wanted to make sure that it's something that you guys agree with and if I got that right.

@gsquire
Copy link
Owner

gsquire commented Jun 12, 2018

Sure, I'd be happy to take a PR. Feel free to ping me if you need any help.

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