gitea/models/user
Gwyneth Morgan 5b2fd0fc19
Drop "@" from email sender to avoid spam filters (#29109)
Commit 360b3fd17c (Include username in email headers (#28981),
2024-02-03) adds usernames to the From field of notification emails in
the form of `Display Name (@username)`, to prevent spoofing. However,
some email filtering software flags "@" in the display name part of the
From field as potential spoofing, as you could set the display name part
to another email address than the one you are sending from (e.g.
`From: "apparent@email-address" <actual@email-address>`). To avoid
being flagged, instead send emails from `Display Name (username)`.

Closes: #29107

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2024-02-10 04:40:48 +01:00
..
avatar.go Replace -1 with GhostUserID (#27703) 2023-10-20 14:43:08 +00:00
badge.go
email_address_test.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
email_address.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
error.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
external_login_user.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 2023-12-07 15:27:36 +08:00
follow_test.go
follow.go
list.go
main_test.go
must_change_password.go
openid_test.go
openid.go
redirect_test.go
redirect.go
search.go
setting_keys.go
setting_test.go
setting.go
user_system.go Replace -1 with GhostUserID (#27703) 2023-10-20 14:43:08 +00:00
user_test.go Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
user_update.go
user.go Drop "@" from email sender to avoid spam filters (#29109) 2024-02-10 04:40:48 +01:00