Is there a way to send sms via smtp or without using sms gateway. Or Is there a way to send sms without cost in php?
Please give code example in php.
Is there a way to send sms via smtp or without using sms gateway. Or Is there a way to send sms without cost in php?
Please give code example in php.
Short answer: no
The same way you need access to the internet via a provider, you need access to the "phonenetwork" which is normally reached by connecting to a sms gateway.
There are some companies though, which provide apis which grant access to use their gateways - but i don't think they provide it for free - at least not if you want to send many sms.
And yes, some also have smtp apis. You send your sms-message to their server via e-mail and their server takes the mail content and sends the sms by connecting to their sms gateway...