how can i mod code below to what i want?
PHP Code:
$mail = new PHPMailer();
$mail->SetLanguage("en", "phpmailer/language/");
$mail->IsSMTP();
$mail->IsHTML(true);
$mail->Host = "localhost";
$mail->SMTPAuth = true;
$mail->Username = "username";
$mail->Password = "password";
$mail->From = "sale@abc.com";
$mail->FromName = "abc company";
$mail->Subject = $subject;
$mail->AddAddress("$email", "$name"); // user email
$mail->AddBCC("admin@abc.com");
$mail->AddAttachment($merge_ref.".pdf");
$mail->Body = $send_msg;
Please advise..thank!