Browse Source

Show suspicious email warning only when the email address is suspicious not the name

pull/8139/head
Aleksander Machniak 4 years ago
parent
commit
12ea080af8
  1. 1
      program/actions/mail/index.php

1
program/actions/mail/index.php

@ -1384,7 +1384,6 @@ class rcmail_action_mail_index extends rcmail_action
// phishing email prevention (#1488981), e.g. "valid@email.addr <phishing@email.addr>"
if (!$show_email && $valid && $name && $name != $mailto && strpos($name, '@')) {
$name = '';
self::$SUSPICIOUS_EMAIL = true;
}
// IDNA ASCII to Unicode

Loading…
Cancel
Save