Skip to content

Mail Settings (SMTP)

Configure SMTP either in Settings → Mail Settings or via microbase.conf (Config-First):

SMTP_ENABLED=true
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USERNAME=apikey
SMTP_PASSWORD=your-smtp-password
SMTP_SENDER_NAME=Microbase
SMTP_SENDER_ADDRESS=noreply@example.com
  • Send a live test email via POST /api/settings/mail/test or the Admin UI Send test button.
  • When SMTP is disabled in development, Microbase prints a formatted Dev Mail / OTP box directly in the server terminal so you can copy OTPs immediately.