-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 option for mailer to override mail headers #27860
Conversation
If I understand these headers correctly:
So maybe you are really looking for |
I'll test how mailclients do react ... |
We should only set
I do see we already set this header on line 54, so maybe just improve it in this regard. |
This seems like it would conflict with the reply to issues via email functionality as that relies upon a specific address? |
Well yes i'll add a check so it does not conflict. The usecase i try to solve: have a mail in from header witch is not "noreplay@..." but let mail clients still not replay to it (or show at least a warning) |
I guess in any case, having this |
Co-authored-by: silverwind <me@silverwind.io>
Happy to merge this as-is for the Return-Path option. Could add check to compare it to |
Is it really changeable from sender side? https://www.rfc-editor.org/rfc/rfc5321
|
BTW I just checked: Multiple headers values split on |
well we now just make a pass-through more or less ... |
Interesting block syntax, where's it from? At least GFM can't seem to render it. |
docusaurus buildin syntax |
Thanks, I see facebook/docusaurus#7471 is related. |
It's better to have a test. |
added |
* giteaofficial/main: Add option for mailer to override mail headers (go-gitea#27860) Move custom `tw-` helpers to tailwind plugin (go-gitea#31184) Remove unnecessary inline style for tab-size (go-gitea#31224) Document possible action types for the user activity feed API (go-gitea#31196) Remove sqlite-viewer and using database client (go-gitea#31223) Update golangci-lint to v1.59.0 (go-gitea#31221)
* origin/main: (231 commits) Allow including `Reviewed-on`/`Reviewed-by` lines for custom merge messages (go-gitea#31211) Add `MAX_ROWS` option for CSV rendering (go-gitea#30268) Update `golang.org/x/net` (go-gitea#31260) Add replacement module for `mholt/archiver` (go-gitea#31267) Fix Activity Page Contributors dropdown (go-gitea#31264) Optimize runner-tags layout to enhance visual experience (go-gitea#31258) fix: allow actions artifacts storage migration to complete succesfully (go-gitea#31251) Add `lint-go-gopls` (go-gitea#30729) Make blockquote attention recognize more syntaxes (go-gitea#31240) Fix admin oauth2 custom URL settings (go-gitea#31246) Replace `gt-word-break` with `tw-break-anywhere` (go-gitea#31183) Make pasted "img" tag has the same behavior as markdown image (go-gitea#31235) Remove .segment from .project-column (go-gitea#31204) Fix overflow on push notification (go-gitea#31179) Fix NuGet Package API for $filter with Id equality (go-gitea#31188) Fix overflow on notifications (go-gitea#31178) Update chroma to v2.14.0 (go-gitea#31177) Update air package path (go-gitea#31233) Bump `@github/relative-time-element` to v4.4.1 (go-gitea#31232) Add option for mailer to override mail headers (go-gitea#27860) ...
Add option to override headers of mails, gitea send out
Sponsored by Kithara Software GmbH