How to send sms programmatically? [closed] - sms

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Are there any sites that offer the ability to send SMS for free?
How do they do it?
How am I able to send SMS programmatically?

The articles listed below may be useful:
Are there any free services for sending SMS programmatically?
[Programmatic SMS] [3]
[Free SMS API?] [4]
EDIT
Removed first link that has been removed

Send an email to the 10 digit phone number # Carrier's domain name.
Here is a list of the carriers and their domains:
https://en.wikipedia.org/wiki/List_of_SMS_gateways

I use an SMS gateway and it is fairly easy but I did consider this as an alternative because it potentially gave me more control
email to sms

The sites that send SMS for free usually use the email interface that most of the carriers implement which allow you to send an email to (for instance) <your 10 digit number>#mobile.att.net
and have it received as an SMS by that phone.

Related

Citadel Mail Server Rejecting SMTP clients [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I setup a Citadel Mail Server on a RPI 3B+. I have DNS setup, port forwarding, and port open on firewall. When I enter through the webmail portal, I can send and receive mail just fine. The issue that I am having is with mail clients.
I can use IMAP and POP just fine to receive mail with my credentials just fine also.
Whenever I try to send mail using a client (tried a couple different ones), it fails on sending. Right now, I am not using SSL until I get it working on the basic port. The devices I am trying are local devices that do not pass a firewall. With sender authentication turned on, it always says invalid login even though the same login works for IMAP and POP. Turned off it says it requires a login.
For some reason it rejects logins to send mail even if they are a valid user on the system. Works 100% though with the same user on the webmail portal.
Any ideas on how to get this working? Let me know if more info is required.
I originally asked this question on SuperUser(since when I was going to aks here it directed me there due to it being software instead of code), but never got a reply and found other questions concerning Citadel here.
Also, I will add a bit more info. The original admin account can login fine, but gets and error 530 because it will not let me add an internet email address to that user. I add it and hit save. It goes back to blank everytime. Rebooting does nothing. Adding more users gives original result of not being able to login for smtp.
All users have the checkbox selected to allow internet email and have a internet email address, besides the original admin who I cannot enter an internet email address.
Also, same result for ports 25 and 587 both.
Not fully an answer, but since nobody is responding to this I will add the conclusion I got to when doing more research. Uninstall Citadel and find a tutorial for Postfix and Dovecot for RPI. I have it mostly working, but have a bit of work to do with StartTLS.
A little late for this answer but...
It seems that Citadel will reject SMTP requests on any account that has a password greater than 19 characters. Both IMAP and POP still work for longer passwords.

Is SockJS EventBus Bridge a right tool for building private chats? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I would like to build a app with private chat powered by SockJS using Vert.X. I quickly ran into limitation of SockJS because of it's simplistic API and multiplexing doesn't seem to be the answer (see: https://groups.google.com/d/topic/sockjs/cO7lnH07RCE/discussion ).
Would EventBus Bridge be the right tool? Each client binds to a unique address, and VertX server can respond to them, or ignore them by default if not recognized?
Is that the intent of EventBus Bridge?
Can permit rules be changed once the SockJSBridge is started?
Randomized token (UUID?) can also be added to inbound rule "match" to simulate how session would work.
Is this reasonable? or has this been wildly used?
The EventBusBridge lets clients (browsers via SockJS) talk with other subscribers on the EventBus. That means you can send messages directly with Server-side Services or other clients.
You cannot change the permit/firewall rules for the bridge dynamically. But with regular expressions and using UUIDs, you should be able to implement a chat quite easily. Let me give you an example:
The server listens on address chat-server. The outbound setting in the bridge is set to { "address_re" : "chat-clients\..*" }. Every client registers a handler on chat-clients.<some_UUID_for_this_client> and tells the server to send messages addressed to the client to the registered address.
We have written a chat module in Scala, which you can use as a reference.

GSM Modem is very slow. Sending 10 to 12 SMS Per Minutes [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am using nokia 5233 GSM Modem with SMS Caster. I want to send bulk SMS to my clients but my GSM Modem is very slow to do that. It is sending only 10 to 12 SMS Per minutes. I want to use my cell number and sim to send SMS but with very high speed. How cold I find an altrnate to my Cell's GSM Modem.
GSM Modems or phones are not designed for sending bulk messages at high rate. You will need to either get in touch with some bulk SMS providers or virtual-number providers that lets you do this. If you need a phone number to appear as sender-id in India, you will need to do this using a virtual number only.
I've been trying to send bulk messages via a GSM modem and found that the GSM network architecture makes clients incapable of sending more than ~10 sms/minute or, allegedly, ~30 sms/minute using GPRS. Exact limits depend on the modem/device, provider and reception. To send more, as was suggested already, you need to look into a (paid) gateway service connected directly to a messaging centre.
i had experience sending 40000 sms at once. to do this contact gsm operators directly. they can send about 50 sms per second via direct connection to sms center. usualy they have web interface connected to sms center, have ways to provide basic data about people (gender, day of birth etc). You upload phone database to web interface and fire up your delivery. you get wholesale price for your delivery
Yes, it is true that GSM/GPRS modems cannot send messages at a high rate. You would need access to an SMS Centre or SMS Gateway as mentioned here!
This is because of synchronous messaging model.
If you want to send 100 messages, only one thread will be executing this messaging sending activity.
In case you use python there is a multiprocessing module
http://docs.python.org/library/multiprocessing.html.
There will be similar method in your programming language.

How to Send and Receive SMS through application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
In windows I want to make an application, which can send and receive and process sms. How it is possible? I am from India and this app will be used in India.
How can I receive sms in computer, I think through cellular GSM modem, It is possible to send and receive sms. Where can I find APIs to connect to modem to send and receive sms?
I am comfortable in Qt & MFC programming.
Thanks,
Sunny.
Assuming you have a GSM modem which supports it, then you can send a set of AT commands to send and retrieve SMS from it.
If you are dealing with message in bulk, you'll probably want to sign up for an SMS gateway service instead. These usually provide an HTTP API and don't require a GSM modem.
If you want to send/receive SMS using Modem then this link might be helpful. If you want to have large scale capabilities to send/receive SMS then you can contact SMS Resellers like Gateway4SMS. Search google for more such providers. There are plenty of them in India.
Besides these technical things, you need to be aware that it is illegal to send bulk SMS from your mobile phone in India. You need to have 5 digit special codes (like 57575) or 11 character (TD-IRCTC) name to send bulk SMS which will be provided to you by bulk SMS resellers.
If you are thinking to contact service providers like Airtel or Vodafone to connect to their SMSC (SMS center) then be aware that Airtel has pulled out of this business because it is ethically not so right. Your only options are Vodafone/Tata teleservices but those guys don't respond to you if you are small time player.
The easiest way to accomplish this is by using a third party API. Some I know that work well are:
restSms.me
Twilio.com
springedge.com
Clickatell.com
I have used all of them and they easiest/cheapest one to implement was restSms.me
Hope that helps
You will need to get a modem that is capable to receive AT COMMANDS.
take a look at this article.
I used the following modem, and it works perfectly.
Another way would be to use an SMS gateway such as CLICKATELL I use my own modem to receive messages, and their gateway for sending.
No, you cannot send SMS through your modem. There are third party SMS gateway services, but I'm uncertain of how well or if they work in India.
Start reading here SMS Gateways and then you should be able to google for gateway services.
There are several ways to do this task, either to use AT commands for GSM modem or to use some gateway. Remember AT commands are not easy to handled, specially you feel difficult to handle incoming messages,
Using GSM Modem, GSM Modem with proper multi threadingYou can find a library or exe here. This is i think a ready made product but you can ask them for free liscence or may be some notes to study how did they make it, its name is rapidsmsserver and it is very nicely made.
There is another way to build this, sending sms using HTTP protocol, but what you required is available in the link i made above.

What is a SMS gateway [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
The community reviewed whether to reopen this question 8 months ago and left it closed:
Original close reason(s) were not resolved
What exactly is and SMS gateway, are "OZEKI" and "KANNEL" the same.
Also are they the only thing to send and receive sms from and through your application or you also need additional hardware - "GSM MODEM"??...
Finally to you need a service provider to suscribe to?..., and per per sms??....
SMS gateway are software/hardware combo that allows you to send and receive sms for your application. It is analogous to attaching a modem to your computer and connect that to your ISP (in the old days). If you are thinking of sending and receiving SMS from your app there are basically a few ways to do it depending on the volume and the cost
Using a SMS gateway and a GSM modem. The GSM modem is basically a cell phone. You have to insert a valid SIM in it. You then connect this modem to your computer either via serial or USB. I've only worked with serial. What you now do is configure the SMS gateway that you are using eg. what port, speed, etc. Once this is set up, you can now use to send sms. See this. This is very cost efficient but not very scalable. We have tested it and can only send about 3 sms per minute.
A second method is to use a sms provider (do a Google search). You don't have to setup any thing on your end. Just subscribe to the service. They you get a some docs or library to allow you to connect to their servers and they will do the sending and receiving for your. For receiving, the provider will provide you with a number for every country that it has presence in.
If you have really high volume or require performance, then go to your local telco and get something call a 'short code' (this is country dependent), a 4 digit number. Typically you connect to the telco using HTTP and the SMS payload is usually in XML.
An SMS gateway can be considered as an agent between SMS receiver and sender.
Ozeki is providing software to work with SMS,
Yes, You need to have a GSM modem or some other media to pass through your message to service provider.
Yes, your service provider may charge you according to their tariff or the plan you have subscribed.
There are several SMS gateways
SMS Gateway
SMS Email Gateway
Aggregator
Software

Resources