Verify Email Configuration
Send a test email
Start an interactive shell in the backend server.
Use the following Elixir code snippet to verify your email configuration by sending a test email:
to = "<YOUR_EMAIL>"
Swoosh.Email.new()
|> Swoosh.Email.from(Application.fetch_env!(:credo_ai, :noreply_email))
|> Swoosh.Email.to(to)
|> Swoosh.Email.subject("Testing")
|> Swoosh.Email.text_body("#{DateTime.utc_now()}")
|> CredoAI.Mailer.deliver()