[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
siakad
/
simpeg
/
metrosapp
/
mdk-lib
/
mail
/
[
Home
]
File: email_resellerv.php
<?php require "class.phpmailer.php"; require_once("koneksi.php"); $query = "SELECT reseller_email,reseller_password FROM cf_reseller WHERE reseller_id = ".base64_decode($_GET["reseller_id"]); $result = mysql_query($query); $row = mysql_fetch_array($result); $cek = mysql_num_rows($result); if ($cek>0){ try { $mail = new PHPMailer(true); //New instance, with exceptions enabled $body = "SELAMAT, ANDA TELAH RESMI MENJADI RESELLER PREMIUM NIC KAMI.<BR>SILAHKAN MEMBUKA HALAMAN RESELLER PREMIUM NIC DI http://www.catfiz.com/premiumnic/reseller_login.php<BR>USERNAME : ".$row['reseller_email']."<BR>PASSWORD : ".$row['reseller_password']."<BR>SEGERALAH GANTI PASSWORD KAMU UNTUK MENGHINDARI TINDAK KEJAHATAN YANG TIDAK DIINGINKAN."; $mail->IsSMTP(); // tell the class to use SMTP $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = "tls"; $mail->Port = 587; // set the SMTP server port $mail->Host = "mail.catfiz.com"; // SMTP server $mail->Username = "premiumnic@catfiz.com"; // SMTP server username $mail->Password = "catfiz5758"; // SMTP server password //$mail->IsSendmail(); // tell the class to use Sendmail $mail->AddReplyTo("premiumnic@catfiz.com ","Premium NIC Catfiz"); $mail->From = "premiumnic@catfiz.com "; $mail->FromName = "Reseller Premium NIC Catfiz"; $to = $row['reseller_email']; $mail->AddAddress($to); $mail->Subject = "Reseller Premium NIC"; //$mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test //$mail->WordWrap = 80; // set word wrap $mail->MsgHTML($body); $mail->IsHTML(true); // send as HTML $mail->Send(); // echo "Message has been sent."; } catch (phpmailerException $e) { echo $e->errorMessage(); } } echo "<script>location.href='http://catfiz.com/premiumnic/verif_reseller.php';</script>"; ?>