Commit 36ffd78c authored by Shakarim Sapa's avatar Shakarim Sapa

FIX

parent 992ed9ff
<?php <?php
echo "ASD"; die;
$email = 'bystrov@kupitsite.ru'; $email = 'bystrov@kupitsite.ru';
$sender = new UnisenderAPI(); $sender = new UnisenderAPI();
// Create the send list // Create the send list
$newListId = $sender->createList(); $newListId = $sender->createList();
echo $newListId; die;
// Subscribe user to new List // Subscribe user to new List
$sender->subscribe(['list_ids' => $newListId, 'fields' => ['email' => $email]]); $sender->subscribe(['list_ids' => $newListId, 'fields' => ['email' => $email]]);
// Create new message // Create new message
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment