-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot change email subjects #27793
Comments
I have posted my issue on all of the official channels and still have got not a single word in response. Could someone please let me know if this is acknowledged? |
|
Wow, that is terribly sad :( 🕯️ I tried both removing the line starting with |
Sure thing, here you go:
Template is from: |
What I mean is removing this |
That's a bug. Seems like Gitea only applies this |
see description of #8329 which is the PR introduced the
It seems no one doing the following PR in these four years... |
Got it, thanks for looking into this! I am looking into the PR's diff but it's really hard for me to wrap my head around both the code structure and the Go syntax. Do you think it is possible that you could look into this? |
Description
I am trying to modify the subject lines of emails sent out from my self-hosted gitea instance (via
docker-compose
).I am following this page in the docs: https://docs.gitea.com/administration/mail-templates. I have ran
gitea embedded extract --destination /data/gitea templates/mail/**
and modified one of the downloaded templates and added this line at the very top:And then I ran
docker compose restart
to restart the gitea server. But my changes to the subject line are disregarded and.FallbackSubject
from the metadata context is used. I have tested and I have no issue modifying the email body, it's just the email subject.Any help would be highly appreciated, thanks!
Gitea Version
1.20.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.40.1
Operating System
Debian 12
How are you running Gitea?
I followed this guide to create
gitea
withpostgres
usingdocker-compose
:https://docs.gitea.com/installation/install-with-docker#postgresql-database
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: