volatiletech / authboss

The boss of http auth.
MIT License
3.79k stars 204 forks source link

Use Brevo for transactional email #352

Open darksnow opened 11 months ago

darksnow commented 11 months ago

I was needing to use Brevo for sending out my password reset emails so dug in and produced a go packages to do just that.

https://github.com/darksnow/authboss-brevo-mailer

I thought I would pop a message in here just in case anyone searches the issue cue wanting to do the same.

I guess this approach could be adapted fairly easily for another HTTP JSON based API

Comments and suggestions welcome.

Bo0mer commented 9 months ago

Thanks for this write-up. I want to do the same using SendGrid, so I'll try to clone your approach. Will post here once I'm ready to share how it went.

darksnow commented 9 months ago

I understand why the template layer is as it is for authboss but it did feel like a hack working round it.

Good luck with SendGrid, I hope my code can help you with it.