Advertisement
Guest User

--registry

a guest
Mar 11th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. <?php
  2. require("class.phpmailer.php"); // path to the PHPMailer class
  3. $email = $_GET['email'];
  4. $code = $_GET['code'];
  5. $code = md5($code);
  6. $user = $_GET['user'];
  7. $mail = new PHPMailer();
  8.  
  9. $mail->IsSMTP(); // telling the class to use SMTP
  10. $mail->Mailer = "smtp";
  11. $mail->Host = "ssl://gator2011.hostgator.com";
  12. $mail->Port = 465;
  13. $mail->SMTPAuth = true; // turn on SMTP authentication
  14. $mail->IsHTML(true);
  15. $mail->Username = "register@silkcore.net"; // SMTP username
  16. $mail->Password = "Victor8109$"; // SMTP password
  17.  
  18. $mail->AddAddress($email);
  19. $mail->From = "register@silkcore.net";
  20.  
  21. $mail->Subject = "Silkcore.net Account Verification";
  22. $mail->Body = "This email was automatically sent by our account verification system.<br /><br />
  23.  
  24. Thanks for singing up on <b>SumoSRO</b>, please follow this link to complete your registration:</b><br />
  25. <b>Link:</b> <a href='http://http://188.194.89.177/?verify=".$code."&user=".$user."'>http://http://188.194.89.177/?verify=$code&user=$user</a><br /><br />
  26.  
  27. Once you finish teh verification process you will be able to login to our <a href='http://http://188.194.89.177/?topic=manageacc'>Account Management Panel</a> and in-game!<br /><br />
  28.  
  29. <i>Remember this is an automatic email generated by our account verification system.<br />
  30. Do not answer this email because this inbox is not checked by our staff. You wont get any response.<br />
  31. For contact please write us to <b>dungeonsro@gmail.com .</b></i>";
  32.  
  33. if(!$mail->Send()) {
  34. echo 'Message was not sent.';
  35. echo 'Mailer error: ' . $mail->ErrorInfo;
  36. } else {
  37. echo 'Message has been sent.';
  38. }
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement