Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!include('lostpassword/pqwb/class.phpmailer.php'))
- die('0e');//could not include email class
- $mail = new PHPMailer();
- $mail->IsSMTP();
- //$mail->Host = "mail.securitycoverage.com";
- //$mail->Username = "smtp";
- //$mail->Password = "SCsmma01!";
- $mail->Host = "mail.quickweb.ro";
- $mail->SMTPAuth = true;
- $mail->Username = "qwimailer@quickweb.ro";
- $mail->Password = "qSu1kct4e2";
- $mail->IsHTML(true);
- $mail->Subject = $mail_subject;
- $mail->From = $mail_from;
- $mail->FromName = $mail_from;
- $mail->AddAddress($obg_username);
- $mail->Body = $mail_body;
- if($mail->Send())
- echo '1';
- else
- die('0e2');//email could not be sent
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement