forgejo-federation/services/mailer
Gergely Nagy 4bccc96684
mailer: Put the username in X-Forgejo-Sender and -Recipient
Following gitea#28981, set `X-Forgejo-Sender` and `X-Forgejo-Recipient`
to the username of the respective users, rather than their display name.
The username is more appropriate for these headers, for filtering
purposes. The display name is already included in the From header.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-05-28 08:27:37 +02:00
..
incoming Replace reply with a forked version to fix the cut-off of the incoming mail text (#3747) 2024-05-13 21:24:58 +00:00
token [GITEA] Drop sha256-simd in favor of stdlib 2024-02-05 16:09:40 +01:00
mail.go mailer: Put the username in X-Forgejo-Sender and -Recipient 2024-05-28 08:27:37 +02:00
mail_admin_new_user.go tests(services/mailer): refactor mail_admin_new_user_test 2024-05-19 08:54:25 +02:00
mail_admin_new_user_test.go tests(services/mailer): refactor mail_admin_new_user_test 2024-05-19 08:54:25 +02:00
mail_comment.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
mail_issue.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
mail_release.go services: Use proper Message-IDs for release mails 2024-04-18 13:44:18 +02:00
mail_repo.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
mail_team_invite.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
mail_test.go mailer: Put the username in X-Forgejo-Sender and -Recipient 2024-05-28 08:27:37 +02:00
mailer.go tests(services/mailer): coverage for the issue/default.tmpl logic 2024-05-19 16:47:22 +02:00
mailer_test.go services: Use proper Message-IDs for release mails 2024-04-18 13:44:18 +02:00
main_test.go tests(services/mailer): refactor mail_admin_new_user_test 2024-05-19 08:54:25 +02:00
notify.go [GITEA] notifies admins on new user registration 2024-02-05 16:09:28 +01:00