Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 

CheetahMail SDK

Consume CheetahMail's SOAP API.

Requirements

  • PHP >= 5.6
  • Package php-soap (ext-soap extension)

Installation

composer require pgrimaud/cheetahmail-sdk

Services available

  • Admin
    • Notify
  • Campaigns
    • BodyManager
    • Campaigns
    • ChronoContact
    • Configs
    • Content
    • ImageHosting
    • Sms
    • SmsUnit
  • Data
    • Filters
    • Segment
    • Ssis
    • Subscribers
    • Target
  • Statistics
    • Stats

All services are available.

Basic usage

Get a campaign :

use Cheetahmail\Campaigns\Campaigns\AuthHeader;
use Cheetahmail\Campaigns\Campaigns\Campaigns;
use Cheetahmail\Campaigns\Campaigns\GetCampaign;

$auth = new AuthHeader(1234);
$auth->setUserName('1234_wssoap');
$auth->setPassword('aGVsbG93b3JsZGJ1ZGR5ITopPQ==');

$campaignService = new Campaigns($auth);

$campaign = new GetCampaign('123456798');
$campaignResponse = $campaignService->GetCampaign($campaign);

print_r($campaignResponse);

Licence

Licensed under the terms of the MIT License.

About

CheetahMail PHP SDK - Consume CheetahMail's SOAP API

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages