Beranda Pemrograman CodePaste Php auto create mail on cpanel whm, Php membuat email otomatis di... PemrogramanCodePastePhp NativeScript tool Php auto create mail on cpanel whm, Php membuat email otomatis di cpanel whm Penulis ariefendi - April 29, 2023 PHP autogenerate_email.php <?php $whmusername = "WHM_USERNAME"; //whm or cpanel username $whmpassword = "WHM_PASSWORD"; //whm or cpanel password $emailname = 'mymail'; //email name $emailpassword = "passwordmu"; //password email $quota = 1024; //quota email $query = "https://127.0.0.1:2083/json-api/cpanel?cpanel_jsonapi_user=user&cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=addpop&email=".$emailname."&password=".$emailpassword.""a=".$quota; $curl = curl_init(); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,0); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,0); curl_setopt($curl, CURLOPT_HEADER,0); curl_setopt($curl, CURLOPT_RETURNTRANSFER,1); $header[0] = "Authorization: Basic " . base64_encode($whmusername.":".$whmpassword) . "\n\r"; curl_setopt($curl, CURLOPT_HTTPHEADER, $header); curl_setopt($curl, CURLOPT_URL, $query); $result = curl_exec($curl); if ($result == false) { error_log("curl_exec threw error \"" . curl_error($curl) . "\" for $query"); } else{ print $result; } curl_close($curl); Php auto create email account on cpanel Php auto create email account on whm Tutorial membuat email otomatis menggunakan php di cpanel Php auto mail BERITA TERKAITDARI PENULIS Android Example retrofit upload file CodePaste Auto create subdomain php cpanel, Membuat subdomain otomatis di cpanel whm Android Java android studio generate qr POPULAR ARTICLES Perbaiki error Class ‘KintKint’ not found Php Codeigniter ariefendi - April 5, 2020 0 Basic Javascript Keperluan validasi form javascript ariefendi - April 28, 2020 0 Fix it android studio please sign in via the opened browser linux Android ariefendi - November 22, 2020 0 Android create tab fragment / viewpager CodePaste ariefendi - Maret 21, 2023 0 Cpanel gratis unlimited Tutorial & Pengetahuan ariefendi - Maret 25, 2020 0 POPULAR CATEGORIESTutorial & Pengetahuan22Pemrograman19Membuat Website14CodePaste9Php Native9Android7