Server IP : 192.124.249.33 / Your IP : 66.248.200.33 Web Server : Apache System : Linux 141.134.66.148.host.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els6.x86_64 #1 SMP Fri Sep 13 13:42:20 UTC 2024 x86_64 User : tarangglobal ( 1001) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/tarangglobal/public_html/cyber/admin/ |
Upload File : |
<?php $mailtype='status'; //$tokenid='ORD0027'; //mail_reg('aru.apsoni@gmail.com','test',$mailtype,$tokenid); function mail_reg($to,$subject,$mailtype,$tokenid) { $org="Tarang"; //$header .= "Content-type: text/html; charset=iso-8859-1\r\n"; $header .= "Content-Type: text/html; charset=UTF-8\r\n"; //$header .= "From: $org <info@".$_SERVER["SERVER_NAME"].">\n"; $header .= "From: $org <info@tarangglobal.com>\n"; //$header .= "Reply-To: $org <info@".$_SERVER["SERVER_NAME"].">\n"; //$header .= "Return-Path: $org <info@".$_SERVER["SERVER_NAME"].">\n"; $header .= "Organization: $org\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "X-Priority: 3\r\n"; $header .= "X-Mailer: PHP". phpversion() ."\r\n"; // $url = 'http://69.49.250.22/etcocart/_mail_try.php?mailtype='.$mailtype.'&tokenid='.$tokenid; $msg="hello"; //echo $msg; //ini_set("sendmail_from","info@".$_SERVER["SERVER_NAME"]); ini_set("sendmail_from","info@tarangglobal.com"); $result=mail($to,$subject,$msg,$header); //return $result; } ?>Private