I’ve just started to play with sharetribe, and email activation seems to be not working. I use an external smtp provider, but it wasn’t addressed at all and I also see that people.email is null for the users.
(FYI I’ve tried the development and the test servers)
Where should I start looking?
People.email being null is expected. Emails are stored in the emails table. (I don’t know why, but that’s the case in my functioning sharetribe installation.)
Your configuration looks good, except I’ve never tried with an smtp_email_domain of localhost. Can you try setting that to sparkpostmail.com?
Also, can you share what errors, if any, are showing up in the development logs?
For historical reasons the email column is still in the person table even though it shouldn’t be there. As you @mooreds said, the null value is expected. There is some view code that still expects person.email to exists and that makes removing it a bit challenging. But I hope we can remove it in the future.
Thanks everyone. I’ve also found that mail stuff out. Also that in development mode, there is no email confirmation and it works with the production environment. I don’t know though why the confirmation mail is not sent with the test environment, but for know it doesn’t really matter.
The confirmation is turned off in dev mode for development convenience. There’s a skip_email_confirmation settings in the config.defaults.yml. You override it in your config.yml file if you want to.