Click here to Skip to main content
15,897,360 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I need to connect to an SMPP server through JAVA and send data through to it for SMS to be delivered from SMPP server (Provided by third party) I have the login details and api document.

I just have no idea what smpp is nor how to connect to it via JAVA. I have setup a mail server that receives emails. I then need to read the body of that email and convert the body to tags etc for smpp as per api document I received from the SMS provider. (All done in JAVA)

My only task now is to connect to the SMPP server to send out the SMS's, and I have no idea where to start. Ive been trying to find something on google but there is very little.

I will be grateful for any advice given
Posted
Updated 3-Dec-17 8:44am
v2
Comments
Sergey Alexandrovich Kryukov 27-Feb-14 2:14am    
There are many SMPP client written in Java. Did you try to find them and choose?
—SA

1 solution

You have enough to choose from, for example:
http://sourceforge.net/projects/jsmppclient[^],
https://github.com/uudashr/jsmpp[^],
https://github.com/twitter/cloudhopper-smpp[^],
http://opensmpp.org[^],
http://sourceforge.net/projects/logicasmpp[^].

This is only what can be seen on surface of open-source world.

—SA
 
Share this answer
 
Comments
pyiannakis 27-Feb-14 2:38am    
Ive downloaded a few open source projects, but they all look like SMPP servers. Im a bit confused with what SMPP is. Do I connect to SMPP the same way I would for example MYSQL or SMTP using a connection string? opening the connection to the smpp server and then sending my data through the connection?
Sergey Alexandrovich Kryukov 27-Feb-14 2:47am    
First one is just client... More importantly, these codes implement the protocol...
On its operation detail, please see this article and referenced literature:
http://en.wikipedia.org/wiki/SMPP.
—SA
pyiannakis 7-Mar-14 2:40am    
Thanks Sergey,

I had to import SMPP API as jar folder in JAVA. Then followed the instructions on the connection process.

Thank you for your help
Sergey Alexandrovich Kryukov 7-Mar-14 8:56am    
You are very welcome.
Good luck, call again.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900