Server : Apache/2 System : Linux server1.tkcorporation.co.th 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 i686 User : ifixit ( 537) PHP Version : 5.3.29 Disable Function : exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source Directory : /home/ifixit/public_html/assets/ |
<?php error_reporting(E_ALL); if($_SERVER['SERVER_NAME'] == 'localhost'){ $host = 'http://localhost/dao'; $server_user = "[email protected]"; $server_pw = "Perfect555!"; $server_host = "smtp.gmail.com"; $port = 465; $secure = 'ssl'; $debug = 2; echo $server_host.":".$port." ".$secure." ".$server_user." ".$server_pw."<BR>"; }else{ $host = 'https://www.perfectdissertationservice.com'; //$server_user = "[email protected]"; //$server_pw = "P@ssw0rd"; //$server_host = "sg2plcpnl0182.prod.sin2.secureserver.net"; //$server_host = "perfectdissertationservice.com"; //$server_host = "smtpout.asia.secureserver.net"; //$server_host = "localhost"; //$port = 25; //$secure = 'tls'; $server_user = "[email protected]"; $server_pw = "Perfect555!"; $server_host = "smtp.gmail.com"; $port = 465; $secure = 'ssl'; $debug = 0; } $admin_name="PDS Team"; $mail_url ='http://www.uprintsolution.com'; $mail = new PHPMailer; $mail->isSMTP(); $mail->SMTPDebug = $debug; $mail->Debugoutput = 'html'; $mail->Host = $server_host; // Must be GoDaddy host name if($_SERVER['SERVER_NAME'] == 'localhost'){ } $mail->SMTPAuth = true; //$mail->SMTPSecure = $secure; $mail->Username = $server_user; $mail->Password = $server_pw; $mail->Port = $port; $mail->IsHTML(true); $mail->CharSet = "text/html; charset=iso-8859-1;"; $mail->SetFrom($server_user, $admin_name); $mail->AddReplyTo($server_user, $admin_name); $signature =" <p style='font-size:14px;color:#666;font-family: 'Kanit', sans-serif;'>Thank you,</p> <p style='font-size:14px;color:#666;'>".$admin_name."</p> <p style='font-size:14px;color:#666;'>[email protected]</p> <p style='font-size:14px;color:#666;'>https://perfectdissertationservice.com</p> <HR> <span style='font-size:16px;color:#666;'>THIS IS AN AUTOMATED RESPONSE.</span><br> <span style='font-size:16px;color:#666;'>***DO NOT RESPOND TO THIS EMAIL****</span><br> <hr>" ?>