To Send SMS notifications you need to setup SMS configuration details.
Go to Settings -> Business Settings -> SMS settings
from here we can set up SMS for most of the vendors having support for REST API, most of the support it. If not then check with your provider
Go to the REST API documentation of your vendor. Contact your vendor if you can’t find it.
Here you’ll find 3 different service type: Nexmo, Twilio, and others.
Let the api structure is
http://your-sms-website.com/api/sendmsg.php?user=&pass=&sender=&phone=&text=
So the configuration will be as follows
URL: https://rest.nexmo.com/sms/json
Send to parameter name: phone
Message parameter name: text
Request Method: GET
Parameter 1 key: user Parameter 1 value:
Parameter 2 key: pass Parameter 2 value: Parameter 3 key: sender Parameter 3 value:
Let the api structure is
$api_url = “http://sms-pos.testsms.com/app/smsapi/index.php?username=&password=&campaign=XXXXXX&routeid=XXXXXX&type=text&contacts=97656XXXXX,98012XXXXX&senderid=XXXXXX&msg=Hello+People%2C+have+a+great+day”;
So the configuration will be as follows
Send to parameter name: contacts
Message parameter name: msg
Request Method: GET
Parameter 1 key: username Parameter 1 value:
Parameter 2 key: password Parameter 2 value:
Parameter 3 key: campaign Parameter 3 value: XXXXXX
Parameter 4 key: routeid Parameter 4 value: XXXXXX
Parameter 5 key: type Parameter 5 value: text
Parameter 6 key: senderid Parameter 6 value: XXXXXX
If required in your api, you can also set headers
Header 1 key: Header 1 value:
Header 2 key: Header 2 value:
Header 3 key: Header 3 value:
Go to Settings -> Business Settings -> Email settings
Add all the Email SMTP configuration details & it will work.
For sending mail notifications, the business-level mail setup should be done.
For this provide the required details in Settings -> Business Settings -> Email settings
For the purpose of receiving forgot password reset link, the application-level mail setup is to be done on .env file.
Refer this – Document Link
1. Is it possible to send SMS when installing in localhost?
Yes it is possible to send SMS from localhost with an internet connection
1. Whether SMS feature work without adding country codes to mobile numbers?
Some APIs will work without adding country code and some may not. It is based on your API provider.
Was this page helpful?
Thank you for your feedback!
Please Login First
Comments (00)