Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require("class.phpmailer.php"); // path to the PHPMailer class
- $email = $_GET['email'];
- $code = $_GET['code'];
- $code = md5($code);
- $user = $_GET['user'];
- $mail = new PHPMailer();
- $mail->IsSMTP(); // telling the class to use SMTP
- $mail->Mailer = "smtp";
- $mail->Host = "ssl://gator2011.hostgator.com";
- $mail->Port = 465;
- $mail->SMTPAuth = true; // turn on SMTP authentication
- $mail->IsHTML(true);
- $mail->Username = "register@silkcore.net"; // SMTP username
- $mail->Password = "Victor8109$"; // SMTP password
- $mail->AddAddress($email);
- $mail->From = "register@silkcore.net";
- $mail->Subject = "Silkcore.net Account Verification";
- $mail->Body = "This email was automatically sent by our account verification system.<br /><br />
- Thanks for singing up on <b>SumoSRO</b>, please follow this link to complete your registration:</b><br />
- <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 />
- 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 />
- <i>Remember this is an automatic email generated by our account verification system.<br />
- Do not answer this email because this inbox is not checked by our staff. You wont get any response.<br />
- For contact please write us to <b>dungeonsro@gmail.com .</b></i>";
- if(!$mail->Send()) {
- echo 'Message was not sent.';
- echo 'Mailer error: ' . $mail->ErrorInfo;
- } else {
- echo 'Message has been sent.';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement