Skip to content

HostLink/epost-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

epost-php

Usage

SMS

use EPost\SMS;

$sms = new SMS();
//$sms->setCountryCode("852");  you can set country code. if not set, default 852
$sms->setPhone("27717387"); //no need add 852
$sms->setContent("Hello");

$key="..."; //get from hostlink
$epost = new EPost($key);
print_r($epost->sendSMS($sms));


### get SMS report
```php
$sms = new SMS();
$from="2021-05-10";
$to="2021-05-15";
$report = $epost->getSMSReport($from,$to);

get quota and expiry date

$epost = new EPost($key);
echo $epost->getSMSQuota();
echo $epost->getSMSExpiryDate();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages