Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/inc/
H A DMailUtils.php47 [$addr, $query] = sexplode('?', $email, 2);
48 $out = self::obfuscateAddress($addr);
78 [$addr, $query] = sexplode('?', $email, 2);
79 $addr = self::obfuscateAddress($addr);
81 $addr = rawurlencode($addr);
84 $addr = htmlspecialchars($addr, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
87 $addr .= '?' . htmlspecialchars($query, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
89 return $addr;
97 * @param string $addr raw local@domain
100 protected static function obfuscateAddress(string $addr): string argument
[all …]
H A DMailer.class.php455 $addr = $matches[2];
458 $addr = $part;
461 if (empty($addr)) {
466 if (!Clean::isASCII($addr)) {
467 … msg(hsc("E-Mail address <$addr> is not ASCII"), -1, __LINE__, __FILE__, MSG_ADMINS_ONLY);
471 if (!MailUtils::isValid($addr)) {
472 … msg(hsc("E-Mail address <$addr> is not valid"), -1, __LINE__, __FILE__, MSG_ADMINS_ONLY);
479 $addr = "<$addr>";
497 $headers .= $text . ' ' . $addr;
626 foreach ($addrs as $addr) {
[all …]
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingEmail.php47 $addr = $matches[2];
49 $addr = $mail;
52 if (!MailUtils::isValid($addr)) {