-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ability to cc/bcc? #19
Comments
Well we use Transmissions (https://developers.sparkpost.com/api/transmissions.html) which are used for mass mailing, CC/BCC should have no affect (AFAIK: not supported on transmissions) because having multiple receipts shouldn't put them all in the "to" list, but individually mailed with each one as a single recipient. We do not currently support the basic SMTP API though, where TO/CC/BCC makes more sense, if you wanted to implement that, of course we'll accept a PR for that (and of course push that out to NuGet). :D I would be interested in the use case though were transmissions weren't good enough for this (unless the requirement is that you do see everyone that is in the recipient list). |
That's where I looked too! See section "Request: Create Transmission Using CC Header" - seems to support it ok, no? Basically I am trying to send a copy of the outgoing emails to ourselves. I added the CC in the headers collection as in the example but I got interrupted so I'm not sure if it works yet :S |
Ah yeah, using the header section, didn't consider that! You should be able to currently do this without changing the library:
Though maybe we should move to a Let me know if you'd rather this be implemented a different way. I know it's not intuitive but I can't think of a nice way to make header tampering both intuitive and as flexible as it needs to be without doing the same we do in our SegmentDotNet stuff (which I wouldn't mind breaking out if it makes sense, it's just not tested much). |
Frankly I'm happy with a Maybe include an example. The full framework SparkPost C# SDK adds a |
I'll go check out their implementation. For the most part our The anonymous object above should work for now. We may change it to a dictionary in the future. Let me know if that doesn't work for you though and I'll look into it. |
Sure :) Thanks! |
We got busted. CC works like we discussed. For BCC you must add to list of recipients and it doesn't really work like BCC (the TO: address doesn't appear). Poop. |
Would you kindly merge #20 and updated the nuget? |
Cool, yeah, give me a moment, I'll get it out today/tomorrow. |
Thank you @StrangeWill ! |
@georgiosd 0.3.0 is out here: https://www.nuget.org/packages/SparkPostDotNet/0.3.0 |
You're the man! Thanks |
No problem, and thanks for the PR. :D |
Short and sweet :P |
I guess it's not implemented? If I send you a PR, will you publish a new nuget?
The text was updated successfully, but these errors were encountered: