anlutro / php-bulk-sms Goto Github PK
View Code? Open in Web Editor NEWBulkSMS API - PHP implementation
License: MIT License
BulkSMS API - PHP implementation
License: MIT License
BulkSMS API responded with code: 24 - Data validation failed
I see this error when I send a long Unicode SMS. How can I send a long message?
Hi @anlutro,
It's possible to send bulk?
I find sendBulkMessages
method in BulkSmsService
class but i'm not sure about this, because this method does not $recipient param.
Regards
How to set message encoding to unicode
Migration of BulkSMS to newer APIs return http/2 headers, which in turn do NOT respond with "200 OK".
Expect a matching pull request for cURL library.
Thank you.
Hi @anlutro,
Please update packagist. It seems the respect/validation
does not update and I've got the old version.
https://packagist.org/packages/anlutro/bulk-sms
php: >=5.4.0
anlutro/curl: 0.3.*
respect/validation: 0.8.*
Hello! using laravel 5.1 tried
$bulkSms = new BulkSmsService(config('bulk-sms.username'), config('bulk-sms.password'), config('bulk-sms.baseurl'));
$bulkSms->sendMessage('full number without plus', 'Hello there!');
Then I tried
$bulkSms = new BulkSmsService(config('bulk-sms.username'), config('bulk-sms.password'), config('bulk-sms.baseurl'));
$bulkSms->setTestMode(BulkSmsService::TEST_ALWAYS_SUCCEED);
$bulkSms->getStatusForBatchId(693099785);
The same result:
BulkSmsException in BulkSmsService.php line 161: BulkSMS API responded with HTTP status code 301 Moved Permanently
What's the reason?
What about laravel5 When i sunmit
sudo php artisan config:publish anlutro/bulk-sms
give me error
[InvalidArgumentException]
Command "config:publish" is not defined.
Did you mean one of these?
vendor:publish
config:clear
config:cache
it try with vendor:publish give me
[RuntimeException]
Too many arguments.
Help please
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.