Tutorial section - SMS

Send SMS with SMPP using Go

Sending SMS with the SMPP API using the Go programming language
Tyr SMS Gateway
to
and worldwide

The gosmpp library can be used to make SMPP requests using Go. This library can be used to submit SMS to an SMS gateway or SMSC.

SMPP requirements and resources

SMPP is the Short Message Peer-to-Peer protocol and is used by applications for sending and receiving SMS. An SMPP client can be used to connect to an SMSC or SMS gateway using the SMPP protocol. An SMPP account, including special Developer accounts, can quickly and easily be obtained for using the Melrose Labs Tyr SMS Gateway or SMSC Simulator. The following are required to send SMS with SMPP:

Go requirements and resources

Go is a programming language and can be used to quickly and easily add SMS support for programmatically sending and receiving SMS messages. Use it for transactional messaging and notifications between your application and mobiles. The following are required to send SMS using Go:

  • Go
    The Go (aka Golang) programming language

Requirements and resources

The following are required to send SMS with SMPP using Go:

  • gosmpp
    SMPP (v3.4) Client Library for Go

Install

	go get -u github.com/linxGnu/gosmpp
go get -u github.com/stretchr/testify/

Using in production

Whatever the language or API, you can send SMS and receive SMS between applications and mobiles for a wide range of uses with any of the trusted and reliable CPaaS services from Melrose Labs. Take a look at our Messaging, SMS gateway and Bulk SMS solutions, and sign-up for a Developer account on our Tyr SMS Gateway service to try us out. We provide a wide range of CPaaS services and infrastructure to organisations, including cloud platforms that enable you to run your own SMS gateway.

If you have any questions at all, please get in contact with us.

Testing

For testing your application's SMS support when using the SMPP protocol, we recommend starting with the Melrose Labs SMSC Simulator service to simulate SMS message delivery to mobiles (MT SMS) and simulate SMS messages from mobiles (MO SMS). The SMSC Simulator supports SMPP v3.3, v3.4 and v5.

Get free SMPP account for SMSC Simulator >

For live testing and delivery to mobiles, use the reliable and dependable Melrose Labs Tyr SMS Gateway for A2P, P2A, bulk, wholesale and business SMS, text marketing and other uses. The Melrose Labs Tyr SMS Gateway supports REST and SMPP APIs.

Get Tyr SMS Gateway account >

Alternative APIs and languages

Other APIs covered in our tutorials that can be used for sending and receiving SMS using Go include: REST

Other languages covered in our tutorials that can be used for sending and receiving SMS with SMPP include: Python, PHP, Java, C++, C#, Perl, Node.js, Ruby

Find out more...

Please provide your name.
Please provide a valid company name.
Please type your message.
Please provide a valid email address.