Use Proton to send emails from Forgejo

To allow Forgejo to send emails using Proton, you need to:

  1. Create an SMTP token in Proton from settings.
  2. Configure Forgejo using app.ini:
[mailer]
ENABLED = true
FROM           = {{SMTP username}}
PROTOCOL       = smtp+starttls 
SMTP_ADDR      = smtp.protonmail.ch
SMTP_PORT      = 587
USER           = {{SMTP username}}
PASSWD         = `{{SMTP token}}`

Where {{SMTP username}} and {{SMTP token}} should be copied from Proton.

2026-02-15