gsquire / sendgrid-rs

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

Support for either `pub add_field` or `add_template_id` #81

Closed seenickcode closed 3 years ago

seenickcode commented 3 years ago

It seems like it's not possible to set the template ID when sending a mail Is that correct?

gsquire commented 3 years ago

Which version of the SendGrid API are you using? Here is the function you can use for V3.

seenickcode commented 3 years ago

Works. Thanks. Looks like I was looking at the example in main.rs which sadly, seems to not use the v3 module.