No E-Mails since change to Swoosh / 2.1.0-rcX
Description
function Mobilizon.Web.Email.Mailer.send_email/1 is undefined
Steps to Reproduce
- upgrade to an 2.1.0-rcX
- change config to Swoosh
- fill and send form for forget password
Expected behaviour:
Mails send
Actual behaviour:
No E-Mail send out
Reproduces how often:
Always
Versions
my own instance with 2.1.0-rc3 and 2.1.0-rc4
Additional Information
May 04 22:56:03 vela-mobilizon mix[9603]: Request: POST /api
May 04 22:56:03 vela-mobilizon mix[9603]: ** (exit) an exception was raised:
May 04 22:56:03 vela-mobilizon mix[9603]: ** (UndefinedFunctionError) function Mobilizon.Web.Email.Mailer.send_email/1 is undefined (module Mobilizon.Web.Email.Mailer is not available)
May 04 22:56:03 vela-mobilizon mix[9603]: (mobilizon 2.1.0-rc.4) Mobilizon.Web.Email.Mailer.send_email(%Swoosh.Email{assigns: %{instance_name: ..................... to: [{"", "user@example.org"}]})
May 04 22:56:03 vela-mobilizon mix[9603]: (mobilizon 2.1.0-rc.4) lib/web/email/user.ex:143: Mobilizon.Web.Email.User.send_password_reset_email/2
May 04 22:56:03 vela-mobilizon mix[9603]: (mobilizon 2.1.0-rc.4) lib/graphql/resolvers/user.ex:288: Mobilizon.GraphQL.Resolvers.User.send_reset_password/3
May 04 22:56:03 vela-mobilizon mix[9603]: (absinthe 1.7.0) lib/absinthe/resolution.ex:209: Absinthe.Resolution.call/2
May 04 22:56:03 vela-mobilizon mix[9603]: (absinthe 1.7.0) lib/absinthe/phase/document/execution/resolution.ex:230: Absinthe.Phase.Document.Execution.Resolution.reduce_resolution/1
May 04 22:56:03 vela-mobilizon mix[9603]: (absinthe 1.7.0) lib/absinthe/phase/document/execution/resolution.ex:185: Absinthe.Phase.Document.Execution.Resolution.do_resolve_field/3
May 04 22:56:03 vela-mobilizon mix[9603]: (absinthe 1.7.0) lib/absinthe/phase/document/execution/resolution.ex:170: Absinthe.Phase.Document.Execution.Resolution.do_resolve_fields/6
May 04 22:56:03 vela-mobilizon mix[9603]: (absinthe 1.7.0) lib/absinthe/phase/document/execution/resolution.ex:88: Absinthe.Phase.Document.Execution.Resolution.walk_result/5