Advertisement
Guest User

Untitled

a guest
Nov 4th, 2017
691
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. $mail = new PHPMailer();
  2. $mail->IsSMTP();
  3. $mail->SMTPDebug = 3;
  4. $mail->Debugoutput = 'html';
  5. $mail->Host = $email_host;
  6. $mail->SMTPSecure = false;
  7. $mail->SMTPAutoTLS = true;
  8. $mail->Port = 587;
  9. $mail->SMTPAuth = true;
  10. $mail->Username = $email_username;
  11. $mail->Password = $email_password;
  12.  
  13. $mail->setFrom('webmaster@blackboxsimulation.com', 'BlackBox Account Registration');
  14. $mail->addAddress($email);
  15. $mail->isHTML(true);
  16. $mail->Subject = 'Please Activate Your Account';
  17. $mail->msgHTML('Dear Customer,<br /><br />
  18.  
  19. Thank you for creating your BlackBox Account.<br /><br />
  20.  
  21. Please <a href="http://client.blackboxsimulation.com/activate.php?id='.$activate.'">click here</a> to validate your email address and activate the account<br /><br />
  22.  
  23. This will allow you to manage your BlackBox software, Activate your products and receive notification of Updates and additions to your personal BlackBox Addons. It also gives you access to Free Liveries from both BBS and 3rd Party Painters.<br /><br />
  24.  
  25.  
  26. Please keep this email and password safe as you will need it continue using the account.
  27. And we hope you enjoy flying BLACKBOX ');
  28. $mail->send();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement