Advertisement
Guest User

Untitled

a guest
Aug 11th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. if (!include('lostpassword/pqwb/class.phpmailer.php'))
  2. die('0e');//could not include email class
  3.  
  4. $mail = new PHPMailer();
  5. $mail->IsSMTP();
  6. //$mail->Host = "mail.securitycoverage.com";
  7. //$mail->Username = "smtp";
  8. //$mail->Password = "SCsmma01!";
  9.  
  10. $mail->Host = "mail.quickweb.ro";
  11. $mail->SMTPAuth = true;
  12. $mail->Username = "qwimailer@quickweb.ro";
  13. $mail->Password = "qSu1kct4e2";
  14. $mail->IsHTML(true);
  15. $mail->Subject = $mail_subject;
  16. $mail->From = $mail_from;
  17. $mail->FromName = $mail_from;
  18. $mail->AddAddress($obg_username);
  19. $mail->Body = $mail_body;
  20. if($mail->Send())
  21. echo '1';
  22. else
  23. die('0e2');//email could not be sent
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement