gsquire / sendgrid-rs

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

Allow setting the the host endpoint #99

Closed nicholas-l closed 1 year ago

nicholas-l commented 1 year ago

This allows easier testing for consumers of this library. The endpoint can be set to be a local server to verify the email is sent correctly.

gsquire commented 1 year ago

LGTM, thanks!

gsquire commented 1 year ago

This will be published in version 0.19.1 shortly.