Set up email functionality for your self-hosted Formbricks instance
By default, Formbricks doesn’t include an SMTP server for sending emails. However, you can easily configure your self-hosted instance to use your own email provider through environment variables.
# Enable SMTP_SECURE_ENABLED for TLS (port 465)SMTP_SECURE_ENABLED=0# If set to 0, the server won't require authenticationSMTP_AUTHENTICATED=1# If set to 0, the server will accept connections without requiring# authorization from the list of supplied CAs (default is 1)SMTP_REJECT_UNAUTHORIZED_TLS=0
By default, email verification and password reset features are disabled in Formbricks. To enable these features:
Copy
Ask AI
# Set to 0 to enable email verification (requires working SMTP)EMAIL_VERIFICATION_DISABLED=0# Set to 0 to enable password reset functionality (requires working SMTP)PASSWORD_RESET_DISABLED=0