diff options
author | Carlos Felgueiras <carlosfelgueiras@tecnico.ulisboa.pt> | 2024-02-24 00:02:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 23:02:14 +0000 |
commit | 6f6120dfa8d549d0b866eeb9317054fea831c844 (patch) | |
tree | c53e23d8ea5c87e5f01ca6210bdd4ce216cc010c /options/locale | |
parent | 08c1926e1c3e2487f207b5f225d8b0f2831d0708 (diff) | |
download | gitea-6f6120dfa8d549d0b866eeb9317054fea831c844.tar.gz gitea-6f6120dfa8d549d0b866eeb9317054fea831c844.zip |
Fix validity of the FROM email address not being checked (#29347)
Fixes #27188.
Introduces a check on the installation that tries to parse the FROM
address. If it fails, shows a new error message to the user.
---------
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Diffstat (limited to 'options/locale')
-rw-r--r-- | options/locale/locale_en-US.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index ae34d72e41..31dbabe874 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -247,6 +247,7 @@ email_title = Email Settings smtp_addr = SMTP Host smtp_port = SMTP Port smtp_from = Send Email As +smtp_from_invalid = The "Send Email As" address is invalid smtp_from_helper = Email address Gitea will use. Enter a plain email address or use the "Name" <email@example.com> format. mailer_user = SMTP Username mailer_password = SMTP Password |