Home
last modified time | relevance | path

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

/dokuwiki/inc/
H A DMailUtils.php54 [$addr, $query] = sexplode('?', $email, 2);
55 $out = self::obfuscateAddress($addr);
85 [$addr, $query] = sexplode('?', $email, 2);
86 $addr = self::obfuscateAddress($addr);
88 $addr = rawurlencode($addr);
91 $addr = htmlspecialchars($addr, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
94 $addr .= '?' . htmlspecialchars($query, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
96 return $addr;
104 * @param string $addr raw local@domain
107 protected static function obfuscateAddress(string $addr): string argument
[all …]
H A DMailer.class.php456 $addr = $matches[2];
459 $addr = $part;
462 if (empty($addr)) {
467 if (!Clean::isASCII($addr)) {
468 … msg(hsc("E-Mail address <$addr> is not ASCII"), -1, __LINE__, __FILE__, MSG_ADMINS_ONLY);
472 if (!MailUtils::isValid($addr)) {
473 … msg(hsc("E-Mail address <$addr> is not valid"), -1, __LINE__, __FILE__, MSG_ADMINS_ONLY);
480 $addr = "<$addr>";
498 $headers .= $text . ' ' . $addr;
627 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)) {