View Single Post
  #6 (permalink)  
Old 07-17-09, 05:54 AM
conmen80 conmen80 is offline
Newbie Coder
 
Join Date: May 2009
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
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!

Last edited by conmen80; 07-17-09 at 05:56 AM.
Reply With Quote