| | |
| | | $smtp_user = $CONFIG['smtp_user']; |
| | | |
| | | if (strstr($CONFIG['smtp_pass'], '%p')) |
| | | $smtp_pass = str_replace('%p', $RCMAIL->decrypt_passwd($_SESSION['password']), $CONFIG['smtp_pass']); |
| | | $smtp_pass = str_replace('%p', $RCMAIL->decrypt($_SESSION['password']), $CONFIG['smtp_pass']); |
| | | else |
| | | $smtp_pass = $CONFIG['smtp_pass']; |
| | | |
| | |
| | | { |
| | | if ((strpos($word, "@") > 0) && (strpos($word, "\"")===false)) |
| | | { |
| | | $word = ereg_replace('^<|>$', '', trim($word)); |
| | | $word = preg_replace('/^<|>$/', '', trim($word)); |
| | | if (in_array($word, $addresses)===false) |
| | | array_push($addresses, $word); |
| | | } |