gsquire / sendgrid-rs

Unofficial Rust library for the SendGrid API
https://crates.io/crates/sendgrid
MIT License
107 stars 50 forks source link

Setting for sandbox mode #102

Closed peterasplund closed 1 year ago

peterasplund commented 1 year ago

It would be handy to have a way to enable sandbox mode for the API call. Maybe we can allow configuring mail_settings.

https://docs.sendgrid.com/for-developers/sending-email/sandbox-mode

I can open a PR if it belongs in this library.

gsquire commented 1 year ago

Sure, sounds good to me!

peterasplund commented 1 year ago

I looked into it and realized that sandbox mode doesn't do what I though so I'm closing this. I'll submit a MR of it if anyone wants to but it feels unnecessary right now.