How to Send SMS using php code with SMS gateway

How to Send SMS using php code with SMS gateway
what code or pattern im going to do ?

Most of the SMS gateways I’ve seen use a variety of email methods - so you would send an email to their designated address and include the recipients number and the text of the message in the way the gateway wants. Some take it as the first part of the email address ( 01234567890@smsgateway.com for example), and some want it in the email subject line.

Does the SMS gateway you are using not give you any sample code?

thier is no example code that i’ve seen …

Who is your gateway provider?

clickatel.com

If this is the correct site, a quick search brings up the API documentation, so it’s down to you exactly which way you’re going to use it.

HTTP API: https://www.clickatell.com/developers/api-docs/http-sending-messages/

SMTP API: https://www.clickatell.com/developers/api-docs/send-basic-message-smtp/

It also supports several other methods of sending messages, checking status, retrieving balances and so on.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.