dwyl / learn-phoenix

:fire: Phoenix is the web framework without compromise on speed, reliability or maintainability! Don't settle for less. :rocket:
649 stars 45 forks source link

How do we send emails (via Amazon SES) using Phoenix? #12

Closed nelsonic closed 5 years ago

nelsonic commented 7 years ago

http://www.phoenixframework.org/docs/sending-email Can we write a short demo and deploy it to heroku?

SimonLab commented 7 years ago

@shouston3 thanks for #44 . It's really easy to send email with Bamboo and Amazon SES (Simple Email Service).

To test the email feature you are using Mock on the deliver_now() function.

Another way to test the email feature with Bamboo is to use Bamboo.Test which allow you to unit test the creation of an email structure and to create an integration test by checking that an email has been send.

samhstn commented 7 years ago

@SimonLab I think that should definitely be included in the readme, please make that addition to sending-emails.md

SimonLab commented 5 years ago

documentation added with #67