First register email not sent

There’s two things that may have gone wrong:

  • the mail wasn’t sent
  • the mail was sent, but wasn’t delivered

Since this is a new instance, it’s easiest to check all outgoing email logs from the rails console:

discourse(prod)> EmailLog.all.pluck(:to_address, :email_type, :created_at, :smtp_transaction_response)

If you see something, you’ll know it was at least handed off to the SMTP server which is where Discourse’s responsibility ends.

If you don’t, then it probably wasn’t sent and you can probably find informative logs by checking the /logs and /sidekiq URL paths after logging in as admin.