mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 13:01:15 +00:00
8a1924b51a
Before we had just the plain mail address as recipient. But now we provide additional Information for the Mail clients. --- Porting information: - Two behavior changes are noted with this patch, the display name is now always quoted although in some scenarios unnecessary it's a safety precaution of Go. B encoding is used when certain characters are present as they aren't 'legal' to be used as a display name and Q encoding would still show them and B encoding needs to be used, this is now done by Go's `address.String()`. - Update and add new unit tests. Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4516 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz> |
||
---|---|---|
.. | ||
incoming | ||
token | ||
mail.go | ||
mail_admin_new_user.go | ||
mail_admin_new_user_test.go | ||
mail_comment.go | ||
mail_issue.go | ||
mail_release.go | ||
mail_repo.go | ||
mail_team_invite.go | ||
mail_test.go | ||
mailer.go | ||
mailer_test.go | ||
main_test.go | ||
notify.go |