Forem Creators and Builders 🌱

Discussion on: Customer feedback for the email authentication

 
djuber profile image
Daniel Uber

There's a method named smtp_enabled? which is defined as "smtp username and smtp password are present, or a sendgrid api key is set". This is required to send mail (either through SMTP or through sendgrid's api).

If you removed the settings for sending email, you could send no mail (at all, not just user signup confirmations), but because you can send no mail, users are not required to verify their email address and logins are automatic.

This lowers the friction for new users, but at the same time opens your forem up to any number of abusive bot behaviors (spam users and postings) and disables any notifications (which would still show in user preferences, and would probably generate more support problems for you since users asked for notifications and never received them).

I wouldn't recommend disabling SMTP just to smooth the sign up process, mostly because of the additional confusion that would result from the broken functionality, but that's what the code says.