Extended email validation

* Standard RFC-like email validation.
* Will check if there are DNS records that signal that the server accepts emails. This does not entail that the email exists.
* Will check for multi-utf-8 chars that can signal an erroneous email name.
This commit is contained in:
Roman Kelesidis 2023-02-19 16:46:16 +07:00
commit 12ee76ff43
2 changed files with 23 additions and 1 deletions

View file

@ -384,6 +384,7 @@ $bb_cfg['emailer'] = [
],
'ssl_type' => '', // SMTP ssl type (ssl or tls)
];
$bb_cfg['extended_email_validation'] = true; // DNS & RFC checks for entered email addresses
$bb_cfg['board_email'] = "noreply@$domain_name"; // admin email address
$bb_cfg['board_email_form'] = false; // can users send email to each other via board