I am on phoenix version 1.8.0-rc.4. I have added Ash authentication using mix igniter task.
When I run the code and try to register a user. I get:
- Message in UI - “If this user exists in our database, you will be contacted with a sign-in link shortly.”
- A warning in server log -
[warning] Error sending magic link email - And the dev mailbox (http://localhost:4000/dev/mailbox) is empty.
I checked that this function does not get called - Helpdesk.Accounts.User.Senders.SendMagicLinkEmail.send. So, error must be happening before this.
Here is the server log
[debug] HANDLE EVENT "submit" in AshAuthentication.Phoenix.SignInLive
Component: AshAuthentication.Phoenix.Components.MagicLink
Parameters: %{"_csrf_token" => "ZVgaESoEJG59ASRhNycCBTYHTWURUkJcW3kCNobVJhsW_cGZzWtUYg36", "user" => %{"email" => "a@example.com"}}
[warning] Error sending magic link email
%{}
[debug] Replied in 10ms
Do you know what I need to get this working. I am following documentation, but no luck so far.
Also, can you give me hints about how to dig into the code producing such errors?
Thank you.






















