Skip to content

Java module for communicating with MOBtexting enterprise Messaging and Verify Services

Notifications You must be signed in to change notification settings

mobtexting/mobtexting-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

java plugin for mobtexting

This package makes it easy to send Mobtexting notifications.

Installation

You can install the package through jar, click here to download

Usage

Send an SMS

import com.mobtexting.sms.Client;

public class Hello {
    public static final String ACCESS_TOKEN = "xxxxxxxxxxxxxxxxxx";
    
    public static void main(String[] args) {
        Client client = new Client(ACCESS_TOKEN);
        String to = "1234567890";
        String from = "MobTxt";
        String body = "Hello from Java!";
        char service = 'P';
        String response = client.send(to, from, body, service);
        System.out.println(response);
    }
}

About

Java module for communicating with MOBtexting enterprise Messaging and Verify Services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages