From 222562eca5f558401f7693c6fcf5b50f55785a7c Mon Sep 17 00:00:00 2001 From: Ian Webster Date: Sun, 6 Sep 2015 08:41:57 -0700 Subject: [PATCH 1/5] Add list of textbelt clients --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 31898a9..c8998f4 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ Sample failure: ``` {"success":false,"message":"Exceeded quota for this phone number."} ``` + ### Usage as a module Though this repository contains an express server so you may run your own @@ -34,6 +35,7 @@ instance of the web app, you may also use it to send text messages in your project. The only requirement is unix/posix `sendmail`, used to forward the message. For example, to send a text using the default settings: + ``` var text = require('textbelt'); @@ -45,6 +47,7 @@ text.send('9491234567', 'A sample text message!', undefined, function(err) { ``` You can also supply a region (valid choices are `us`, `intl`, or `canada`) + ``` var text = require('textbelt'); @@ -57,7 +60,6 @@ text.send('9491234567', 'A sample text message!', 'canada', function(err) { text.send('1119491234567', 'Bonjour!', 'intl', function(err) { ... }); - ``` ### Usage as a standalone server @@ -66,6 +68,8 @@ Textbelt can be run as a standalone server with: `node server/app.js`. Be sure By default, the server listens on port 9090 and is configured to accept traffic from a reverse proxy or load balancer such as nginx. To enable accurate IP rate limiting, the reverse proxy should be configured to set the `X-Real-IP` header. +Don't forget to set `fromAddress` in `lib/text.js` to the email address you want to send from. + ### Canadian and International endpoints The /text endpoint supports U.S. phone numbers (and parts of Canada). @@ -76,6 +80,22 @@ For international texts, curl `http://textbelt.com/intl`. Canadian and international support may not be complete. Refer to the list of supported carriers. +### Textbelt Clients + +go - [dietsche/textbelt](https://github.com/dietsche/textbelt) +node.js - [minond/textbelt](https://github.com/minond/textbelt), [ajay-gandhi/textbelt](https://github.com/ajay-gandhi/textbelt), [soondobu/mtextbelt](https://github.com/soondobu/mtextbelt) +php - [ctrlaltdylan/courier](https://github.com/ctrlaltdylan/courier), [securingsincity/phpsms](https://github.com/securingsincity/phpsms) +bash - [cfalk/MessageMe](https://github.com/cfalk/MessageMe) +html/js webpage - [mLuby/SMS](https://github.com/mLuby/SMS) + + +Browser extension - [Chrome](https://chrome.google.com/webstore/detail/textbelter/clciehobfheendclpnmbgbalelignpoa), [Firefox](https://addons.mozilla.org/en-US/firefox/addon/textbelter/), [Safari](https://github.com/daluu/textbelt-clients/raw/master/textbelter.safariextz), [Opera](https://addons.opera.com/en/extensions/details/textbelter/?display=en) +Windows Phone - [TextBelter](https://www.microsoft.com/en-us/store/apps/textbelter/9nblggh1z2dg) +[SendSMS Mac App](https://itunes.apple.com/app/sendsms/id584131262?mt=12) +[OSX dashboard widget](https://github.com/daluu/textbelt-clients/releases/download/1.0/TextBelter.wdgt.zip) +[Windows 7/Vista gadget](https://github.com/daluu/textbelt-clients/releases/download/1.0/textbelter.gadget.zip) + + ### Notes and Limitations * Some carriers are picky about which messages they deliver. A "success" response from Textbelt means that your message was given to the carrier. From ff61a1bd6acf9be2fe7e507d8da5d303e73aaa3f Mon Sep 17 00:00:00 2001 From: Ian Webster Date: Sun, 6 Sep 2015 08:43:15 -0700 Subject: [PATCH 2/5] Format list of textbelt clients --- README.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index c8998f4..0fd6595 100644 --- a/README.md +++ b/README.md @@ -82,18 +82,16 @@ Canadian and international support may not be complete. Refer to the list of su ### Textbelt Clients -go - [dietsche/textbelt](https://github.com/dietsche/textbelt) -node.js - [minond/textbelt](https://github.com/minond/textbelt), [ajay-gandhi/textbelt](https://github.com/ajay-gandhi/textbelt), [soondobu/mtextbelt](https://github.com/soondobu/mtextbelt) -php - [ctrlaltdylan/courier](https://github.com/ctrlaltdylan/courier), [securingsincity/phpsms](https://github.com/securingsincity/phpsms) -bash - [cfalk/MessageMe](https://github.com/cfalk/MessageMe) -html/js webpage - [mLuby/SMS](https://github.com/mLuby/SMS) - - -Browser extension - [Chrome](https://chrome.google.com/webstore/detail/textbelter/clciehobfheendclpnmbgbalelignpoa), [Firefox](https://addons.mozilla.org/en-US/firefox/addon/textbelter/), [Safari](https://github.com/daluu/textbelt-clients/raw/master/textbelter.safariextz), [Opera](https://addons.opera.com/en/extensions/details/textbelter/?display=en) -Windows Phone - [TextBelter](https://www.microsoft.com/en-us/store/apps/textbelter/9nblggh1z2dg) -[SendSMS Mac App](https://itunes.apple.com/app/sendsms/id584131262?mt=12) -[OSX dashboard widget](https://github.com/daluu/textbelt-clients/releases/download/1.0/TextBelter.wdgt.zip) -[Windows 7/Vista gadget](https://github.com/daluu/textbelt-clients/releases/download/1.0/textbelter.gadget.zip) + * go - [dietsche/textbelt](https://github.com/dietsche/textbelt) + * node.js - [minond/textbelt](https://github.com/minond/textbelt), [ajay-gandhi/textbelt](https://github.com/ajay-gandhi/textbelt), [soondobu/mtextbelt](https://github.com/soondobu/mtextbelt) + * php - [ctrlaltdylan/courier](https://github.com/ctrlaltdylan/courier), [securingsincity/phpsms](https://github.com/securingsincity/phpsms) + * bash - [cfalk/MessageMe](https://github.com/cfalk/MessageMe) + * html/js webpage - [mLuby/SMS](https://github.com/mLuby/SMS) + * Browser extension - [Chrome](https://chrome.google.com/webstore/detail/textbelter/clciehobfheendclpnmbgbalelignpoa), [Firefox](https://addons.mozilla.org/en-US/firefox/addon/textbelter/), [Safari](https://github.com/daluu/textbelt-clients/raw/master/textbelter.safariextz), [Opera](https://addons.opera.com/en/extensions/details/textbelter/?display=en) + * Windows Phone - [TextBelter](https://www.microsoft.com/en-us/store/apps/textbelter/9nblggh1z2dg) + * [SendSMS Mac App](https://itunes.apple.com/app/sendsms/id584131262?mt=12) + * [OSX dashboard widget](https://github.com/daluu/textbelt-clients/releases/download/1.0/TextBelter.wdgt.zip) + * [Windows 7/Vista gadget](https://github.com/daluu/textbelt-clients/releases/download/1.0/textbelter.gadget.zip) ### Notes and Limitations From 8a60de8ed78b11bb9fbf56ec318ce54936938de5 Mon Sep 17 00:00:00 2001 From: vdrey Date: Sat, 19 Sep 2015 15:45:59 -0400 Subject: [PATCH 3/5] Added Republic Wireless gateway to providers.js Email to SMS is only available if the user allows it in the settings of the Republic Wireless app, but it makes sense to go ahead and add support for the users that do use it. --- lib/providers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/providers.js b/lib/providers.js index 1c1c2d8..45a9265 100644 --- a/lib/providers.js +++ b/lib/providers.js @@ -14,6 +14,7 @@ module.exports = { '%s@txt.att.net', '%s@txt.windmobile.ca', '%s@vtext.com', + '%s@text.republicwireless.com' //'%s@sms.edgewireless.com', // slow ], From f6c70c477679bd327afc91352b28e460513c801c Mon Sep 17 00:00:00 2001 From: vdrey Date: Sat, 19 Sep 2015 15:47:34 -0400 Subject: [PATCH 4/5] Add Republic Wireless to providers list in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0fd6595..ca2a3da 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Canadian and international support may not be complete. Refer to the list of su * Supported U.S. carriers: Alltel, Ameritech, AT&T Wireless, Boost, CellularOne, Cingular, Edge Wireless, Sprint PCS, Telus Mobility, T-Mobile, Metro PCS, Nextel, O2, Orange, Qwest, Rogers Wireless, US Cellular, Verizon, Virgin Mobile. - * Supported U.S. and Canadian carriers (/canada): 3 River Wireless, ACS Wireless, AT&T, Alltel, BPL Mobile, Bell Canada, Bell Mobility, Bell Mobility (Canada), Blue Sky Frog, Bluegrass Cellular, Boost Mobile, Carolina West Wireless, Cellular One, Cellular South, Centennial Wireless, CenturyTel, Cingular (Now AT&T), Clearnet, Comcast, Corr Wireless Communications, Dobson, Edge Wireless, Fido, Golden Telecom, Helio, Houston Cellular, Idea Cellular, Illinois Valley Cellular, Inland Cellular Telephone, MCI, MTS, Metro PCS, Metrocall, Metrocall 2-way, Microcell, Midwest Wireless, Mobilcomm, Nextel, OnlineBeep, PCS One, President's Choice, Public Service Cellular, Qwest, Rogers AT&T Wireless, Rogers Canada, Satellink, Solo Mobile, Southwestern Bell, Sprint, Sumcom, Surewest Communicaitons, T-Mobile, Telus, Tracfone, Triton, US Cellular, US West, Unicel, Verizon, Virgin Mobile, Virgin Mobile Canada, West Central Wireless, Western Wireless + * Supported U.S. and Canadian carriers (/canada): 3 River Wireless, ACS Wireless, AT&T, Alltel, BPL Mobile, Bell Canada, Bell Mobility, Bell Mobility (Canada), Blue Sky Frog, Bluegrass Cellular, Boost Mobile, Carolina West Wireless, Cellular One, Cellular South, Centennial Wireless, CenturyTel, Cingular (Now AT&T), Clearnet, Comcast, Corr Wireless Communications, Dobson, Edge Wireless, Fido, Golden Telecom, Helio, Houston Cellular, Idea Cellular, Illinois Valley Cellular, Inland Cellular Telephone, MCI, MTS, Metro PCS, Metrocall, Metrocall 2-way, Microcell, Midwest Wireless, Mobilcomm, Nextel, OnlineBeep, PCS One, President's Choice, Public Service Cellular, Qwest, Republic Wireless, Rogers AT&T Wireless, Rogers Canada, Satellink, Solo Mobile, Southwestern Bell, Sprint, Sumcom, Surewest Communicaitons, T-Mobile, Telus, Tracfone, Triton, US Cellular, US West, Unicel, Verizon, Virgin Mobile, Virgin Mobile Canada, West Central Wireless, Western Wireless * Supported international carriers (/intl): Chennai RPG Cellular, Chennai Skycell / Airtel, Comviq, DT T-Mobile, Delhi Aritel, Delhi Hutch, Dutchtone / Orange-NL, EMT, Escotel, German T-Mobile, Goa BPLMobil, Golden Telecom, Gujarat Celforce, JSM Tele-Page, Kerala Escotel, Kolkata Airtel, Kyivstar, LMT, Lauttamus Communication, Maharashtra BPL Mobile, Maharashtra Idea Cellular, Manitoba Telecom Systems, Meteor, MiWorld, Mobileone, Mobilfone, Mobility Bermuda, Mobistar Belgium, Mobitel Tanzania, Mobtel Srbija, Movistar, Mumbai BPL Mobile, Netcom, Ntelos, O2, O2 (M-mail), One Connect Austria, OnlineBeep, Optus Mobile, Orange, Orange Mumbai, Orange NL / Dutchtone, Oskar, P&T Luxembourg, Personal Communication, Pondicherry BPL Mobile, Primtel, SCS-900, SFR France, Safaricom, Satelindo GSM, Simple Freedom, Smart Telecom, Southern LINC, Sunrise Mobile, Surewest Communications, Swisscom, T-Mobile Austria, T-Mobile Germany, T-Mobile UK, TIM, TSR Wireless, Tamil Nadu BPL Mobile, Tele2 Latvia, Telefonica Movistar, Telenor, Teletouch, Telia Denmark, UMC, Uraltel, Uttar Pradesh Escotel, Vessotel, Vodafone Italy, Vodafone Japan, Vodafone UK, Wyndtell From 27fada7ec142c9dea8cacfb3b6e64b03732d627f Mon Sep 17 00:00:00 2001 From: kthibodeaux Date: Sat, 19 Sep 2015 17:24:48 -0400 Subject: [PATCH 5/5] Add Ting as a Provider Confirmation from Ting agent that this is supported: https://help.ting.com/hc/communities/public/questions/203771568-Can-you-send-a-text-message-to-a-phone-number-via-the-internet-email- --- README.md | 2 +- lib/providers.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0fd6595..6da9cc7 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ Canadian and international support may not be complete. Refer to the list of su * Some carriers may deliver text messages from "txt@textbelt.com" - * Supported U.S. carriers: Alltel, Ameritech, AT&T Wireless, Boost, CellularOne, Cingular, Edge Wireless, Sprint PCS, Telus Mobility, T-Mobile, Metro PCS, Nextel, O2, Orange, Qwest, Rogers Wireless, US Cellular, Verizon, Virgin Mobile. + * Supported U.S. carriers: Alltel, Ameritech, AT&T Wireless, Boost, CellularOne, Cingular, Edge Wireless, Sprint PCS, Telus Mobility, T-Mobile, Metro PCS, Nextel, O2, Orange, Qwest, Rogers Wireless, Ting, US Cellular, Verizon, Virgin Mobile. * Supported U.S. and Canadian carriers (/canada): 3 River Wireless, ACS Wireless, AT&T, Alltel, BPL Mobile, Bell Canada, Bell Mobility, Bell Mobility (Canada), Blue Sky Frog, Bluegrass Cellular, Boost Mobile, Carolina West Wireless, Cellular One, Cellular South, Centennial Wireless, CenturyTel, Cingular (Now AT&T), Clearnet, Comcast, Corr Wireless Communications, Dobson, Edge Wireless, Fido, Golden Telecom, Helio, Houston Cellular, Idea Cellular, Illinois Valley Cellular, Inland Cellular Telephone, MCI, MTS, Metro PCS, Metrocall, Metrocall 2-way, Microcell, Midwest Wireless, Mobilcomm, Nextel, OnlineBeep, PCS One, President's Choice, Public Service Cellular, Qwest, Rogers AT&T Wireless, Rogers Canada, Satellink, Solo Mobile, Southwestern Bell, Sprint, Sumcom, Surewest Communicaitons, T-Mobile, Telus, Tracfone, Triton, US Cellular, US West, Unicel, Verizon, Virgin Mobile, Virgin Mobile Canada, West Central Wireless, Western Wireless diff --git a/lib/providers.js b/lib/providers.js index 1c1c2d8..136f9e7 100644 --- a/lib/providers.js +++ b/lib/providers.js @@ -3,6 +3,7 @@ module.exports = { us: [ '%s@email.uscc.net', '%s@message.alltel.com', + '%s@message.ting.com', '%s@messaging.sprintpcs.com', '%s@mobile.celloneusa.com', '%s@msg.telus.com',