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

Add support in Address structure for BCC and CC #46

Open
Sam23D opened this issue Oct 25, 2017 · 1 comment
Open

Add support in Address structure for BCC and CC #46

Sam23D opened this issue Oct 25, 2017 · 1 comment
Assignees

Comments

@Sam23D
Copy link

Sam23D commented Oct 25, 2017

No description provided.

@ewandennis
Copy link
Contributor

ewandennis commented Nov 9, 2017

@Sam23D Did you have an idea of how this would work?

It's an interesting one since the SparkPost API itself doesn't have separate support for CC and BCC`. It's really just a convention where:

  • we add all the CC and BCC recipients to the recipients list
  • we use a single header_to for all recipients, listing the To recipients
  • we set a custom CC header to name all the CC recipients

If we added CC and BCC fields to Address, we'd presumably then use those steps to transform the request which before sending it on the wire?

@ewandennis ewandennis self-assigned this Nov 9, 2017
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