Google Account Setup

  • Enable 2-Step Verification on your Google account.
  • Once enabled, scroll down to the App Passwords section.
  • Generate a new app password and copy/save it securely.
  • Reference guide: Sign in using app passwords

Flarum Configuration

Inside Flarum’s Mail Settings, enter the following values:

  • Driver: smtp
  • Address: your Gmail address
  • Host: smtp.gmail.com
  • Port: 587
  • Encryption: tls
  • Username: your Gmail address
  • Password: the newly generated app password

After saving, use the Send Test function to verify if Flarum can successfully send emails.

Practical Notes Without 2-Step Verification and App Passwords, Gmail will block SMTP connections for security reasons.

Keep the app password safe, as it acts like a mini key to your account for Flarum’s email service.

This setup works best for small forums. For larger communities, consider a dedicated SMTP provider for higher reliability.