alexgaribay / sendgrid_elixir

Create and send composable emails with Elixir and SendGrid.
MIT License
86 stars 44 forks source link

Return response after sending email #16

Closed rohfosho closed 7 years ago

rohfosho commented 7 years ago

Right now Mailer.send only returns with :ok if successful and prevents any interaction/information access from the response. It would be great if it returned {:ok, res} instead.