How to Send a SMS Using SMSLib

Written by james andrews Google
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Send a SMS Using SMSLib
SMSLib is used to send and receive text messages. (Jupiterimages/Comstock/Getty Images)

SMSLib is a free program that allows you to send and receive text messages from your PC to modern cell phones via compatible electronic devices that can be connected to the computer's serial port via a cable or wireless technology. Developed as a Java library, SMSLib sends messages in four forms: plain text, binary, encrypted and WAP SI. The program, which enables the sending of bulk text messages from a PC to multiple users, is only suitable for people with a good knowledge of Java. A commercial version of the software - SMSLibX - has been developed by a third party.

Skill level:

Things you need

  • SMSLib version 3.5.0 or newer
  • SUN JDK 1.6 or newer
  • Java Communications Library
  • Apache ANT for building sources
  • Apache log4j
  • Apache Jakarta Commons - NET
  • JSMPP Library
  • Serial cable
  • Recipient's number

Show MoreHide


  1. 1

    Install the latest version of SMSLib on your PC by downloading the program from the SMSLib website. See References.

  2. 2

    Ensure your PC is equipped with these software components that enable SMSLib to function properly. You need SUN JDK 1.6 or newer, Java Communications Library, Apache ANT for building sources, Apache log4j, Apache Jakarta Commons-NET and JSMPP Library.

  3. 3

    Connect your cell phone to the PC with a serial cable or via Bluetooth.

  4. 4

    Run the SMSLib program on your PC and choose the gateway -- the device or wireless service -- through which you will send text messages. SMSLib has five predefined gateways and each has different initialisation parameters. The gateways are: Serial Modem; IP Modem; Clickatell; BulkSMS; and SMPP. Other gateways can be added.

  5. 5

    Prepapre to compile your text message on the computer by typing the following syntax:

    (Service).start Service()

  6. 6

    Create your message in the SMSLib program window on your PC and input the cell phone number of the recipient. Send the message and wait to receive the delivery status notification.

Tips and warnings

  • Refer to the SMSLib support section if you experience any problems with the service.
  • If you do not have a good understanding of Java then you will probably not be able to use the program.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.