Electronic mail (email or e-mail) is a method of exchanging messages (“mail”) between people using electronic devices. Email was thus conceived as the electronic (digital) version of, or counterpart to, mail, at a time when “mail” meant only physical mail (hence e- + mail). Email later became a ubiquitous (very widely used) communication medium, to the point that in current use, an e-mail address is often treated as a basic and necessary part of many processes in business, commerce, government, education, entertainment, and other spheres of daily life in most countries. Email is the medium, and each message sent therewith is called an email (mass/count distinction).
1. Create class functionfunction email_sign($email_login,$password_login){
$ch2 = curl_init();
curl_setopt($ch2, CURLOPT_URL,"https://aj-https.my.com/cgi-bin/auth?timezone=GMT%2B2&reqmode=fg&ajax_call=1&udid=16cbef29939532331560e4eafea6b95790a743e9&device_type=Tablet&mp=iOS%C3%82%C2%A4t=MyCom&mmp=mail&os=iOS&md5_signature=6ae1accb78a8b268728443cba650708e&os_version=9.2&model=iPad%202%3B%28WiFi%29&simple=1&Login=$email_login&ver=4.2.0.12436&DeviceID=D3E34155-21B4-49C6-ABCD-FD48BB02560D&country=GB&language=fr_FR&LoginType=Direct&Lang=fr_FR&Password=$password_login&device_vendor=Apple&mob_json=1&DeviceInfo=%7B%22Timezone%22%3A%22GMT%2B2%22%2C%22OS%22%3A%22iOS%209.2%22%2C?%22AppVersion%22%3A%224.2.0.12436%22%2C%22DeviceName%22%3A%22iPad%22%2C%22Device?%22%3A%22Apple%20iPad%202%3B%28WiFi%29%22%7D&device_name=iPad&");
curl_setopt($ch2, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch2, CURLOPT_COOKIEJAR, "cookies/ppval15z-gate1.txt");
curl_setopt($ch2, CURLOPT_COOKIEFILE, "cookies/ppva15z-gate1.txt");
curl_setopt($ch2, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch2, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch2, CURLOPT_ENCODING, 'gzip, deflate');
echo $result2 = curl_exec($ch2);
curl_close($ch2);
if(strpos($result2,"Ok=0")){
return $data = array('response' => '200','email' => "$kreden", 'status' => 'dead');
}else
if(strpos($result2,"Ok=1")){
return $data = array('response' => '200','email' => "$kreden", 'status' => 'live');
}else{
return $data = array('response' => '200','email' => "$kreden", 'status' => 'unkown');
}
}
2. Get results$checking = email_sign("[email protected]","Password123");
$response = json_decode($checking,true);
if($response['status'] == "live"){
//your code if success sign
}else
if($response['status'] == "dead"){
//your code if failed sign
}else{
//your code if unknown response
}
I have been using this API script since 2017 and maybe there will be security developments from the API Center which will cause this script to not run perfectly.