Skip to content
This repository has been archived by the owner on Aug 28, 2018. It is now read-only.

Latest commit

 

History

History
19 lines (14 loc) · 593 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 593 Bytes

DEPRECATED use https://github.com/BulkGate/sms

Nette SMS

    /** @var Nette\Sms\ISender @inject */
    public $sms_sender;


    $this->sms_sender->unicode()->send(new Nette\Sms\BulkMessage([
        new Nette\Sms\Message("420777444555", "text"),
        new Nette\Sms\Message("777444556", "text", Nette\Sms\Country::CZECH_REPUBLIC),
        new Nette\Sms\Message("420777444557", "text", Nette\Sms\Country::CZECH_REPUBLIC),
    ]));
    
    $this->sms_sender->send(new Nette\Sms\Message("420888555222", "test"));

==============================