Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: re_once('PHPMailerAutoload.php'); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->CharSet = 'UTF-8'; $mail->Host = "mail.example.com"; $mail->SMTPDebug = 0; $mail->SMTPAuth = true; $mail->Port = 25; $mail->Username = "username"; $mail->Password = "password"; $file = file_get_contents('emails.txt'); preg_match_all('/\"(.*)\"/siU', $file, $match); foreach($match[1] AS $email) { $mail->SetFrom("name@yourdomain.com", "First Last"); $mail->Subject = ""; $mail->MsgHTML($body); $address = "whoto@otherdomain. Source: http://pastie.org/pastes/9100065/download
↧