Skip to content
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

Add custom headers to emails #6008

Closed
1 of 6 tasks
jcabillot opened this issue Feb 8, 2019 · 4 comments
Closed
1 of 6 tasks

Add custom headers to emails #6008

jcabillot opened this issue Feb 8, 2019 · 4 comments
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.

Comments

@jcabillot
Copy link

  • Gitea version (or commit ref): 1.7.1
  • Git version: n/a
  • Operating system: docker gitea/gitea:1.7.1
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • [x ] Not relevant
  • Log gist: n/a

Description

I would like to be able to filter emails from Gitea with my mail client (Thunderbird but it's not revelant).
Currently it's not possible for me because the sender used in my configuration is shared with another services and the subject for PR look likes [project] (no mention of Gitea).
What would be great is to be able to specify a custom header.

Is that something Gitea can implement ?

@zeripath
Copy link
Contributor

zeripath commented Feb 8, 2019

You can edit the templates that are used to make the emails. I think if you copy templates/email to custom/templates/email and change them there and restart Gitea that should do it.

@lunny lunny added the type/question Issue needs no code to be fixed, only a description on how to fix it yourself. label Feb 9, 2019
@zeripath
Copy link
Contributor

zeripath commented Feb 9, 2019

@jcabillot does that solve your issue?

@MarkusAmshove
Copy link
Contributor

I've created new templates in e.g. custom/templates/mail/issue/comment.tmpl but the mails don't change.

I'm using sendmail

@jcabillot
Copy link
Author

Hmm I think I can work with that, thanks.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.
Projects
None yet
Development

No branches or pull requests

5 participants