Comments (4)
The $data variable is the information past to the blade template. It should be an array that will fill out any variables with the template.
If you are not using a template and instead using the simple method of passing a string as the first argument, $data should be null because it will not be used.
Does that help?
from simple-sms.
You may send a free sms using the Email driver.
//Email Driver Example
SMS::send('simple-sms::welcome', $data, function($sms) {
$sms->to('+15555555555', 'att');
});
from simple-sms.
Hi thankyou for ur reply. i was able to try that, however i am getting this error:
InvalidArgumentException in FileViewFinder.php line 112:
No hint path defined for [simple-sms]
in FileViewFinder.php line 112
at FileViewFinder->getNamespaceSegments('simple-sms::welcome') in FileViewFinder.php line 90
at FileViewFinder->findNamedPathView('simple-sms::welcome') in FileViewFinder.php line 76
at FileViewFinder->find('simple-sms::welcome') in Factory.php line 151
from simple-sms.
You are calling a view that doesn't exists. You need to replace simple-sms::welcome
with a view within your resources/views
folder.
from simple-sms.
Related Issues (20)
- Exception Services_Twilio_RestException when queuing an SMS HOT 4
- Twilio Receive Messages Error HOT 4
- Can´t send sms with Zenvia HOT 7
- Api params should be in config HOT 2
- Lumen support HOT 1
- Critical error -- Laravel 5.4 deprecated "share" method. Use singleton instead. HOT 9
- Dependency [jeremeamia/superclosure] removed in laravel 5.4 HOT 1
- Custom Driver HOT 2
- Class sms does not exist error HOT 4
- laravel 5.4 HOT 12
- How to add new carrier without changing EmailSMS.php file? HOT 2
- Can I configure Queue settings when using queue to send SMS?
- Twilio outdated HOT 5
- Dynamic driver HOT 2
- Infobip Driver HOT 1
- Laravel 5.3 error `FatalThrowableError Call to undefined method SimpleSoftwareIO\SMS\SMSServiceProvider::send()` HOT 3
- Having issue HOT 4
- Interest? HOT 6
- laravel 8 support
- sms HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple-sms.