Use Proton to send emails from Forgejo

2026-02-15 Tags: email forgejo proton

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.