Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: /class.phpmailer.php'); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPDebug = 1; $mail->SMTPAuth = true; $mail->Host = 'mail.example.com'; $mail->Port = 25; $mail->Username = "mail-daemon@example.com"; $mail->Password = "secret"; $mail->SMTPSecure = 'tls'; $mail->SetFrom('mail-daemon@example.com', "$name"); $mail->Subject = "$subj"; $mail->Body = $body; $mail->AddAddress("Support@example.com"); if(!$mail->Send()) { $error = 'Mail error: '.$m Source: http://pastebin.com/raw.php?i=VSA3CmTK
↧