skip
skip

Reputation: 12653

How to send SMS messages from a Java Web Application

I need to implement a use case in which I need to auto-generate message to a new user to verify his mobile number by asking him to enter a number sent to his mobile in an SMS.

Does Spring Framework provide any integration support to implement such a use case?

Could someone suggest me how to do that?

Any suggestions are appreciated.

Thanks.

Upvotes: 2

Views: 3118

Answers (1)

Matt H
Matt H

Reputation: 6532

Sending SMS messages requires a gateway provider, e.g. Clickatell or Twilio or whatever. You then implement that provider's SDK to send messages.

It costs about $5k to setup a short code, and about $1500 per month to maintain it. Some providers, like Twilio, let you share a development short code for sending messages, but you can't receive any.

What I've done for verification is send a message via email to a phone, asking for the phone number and the provider. Then convert that into the phone's email address, e.g. [email protected].

Upvotes: 4

Related Questions