TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Send text messages for free using Python

275 点作者 alfredosequeida超过 3 年前

27 条评论

acidburnNSA超过 3 年前
In 2009, I could send and receive text messages though SMS gateways that would control my arduino-controlled hot tub that my friends and I got for $100 on Craigslist. I could adjust the temperature and it would acknowledge and tell me when the programmed temperature would be reached based on the time derivative. This was useful as a grad student in Ann Arbor winters.<p>I had a python script running on a handmedown computer running Ubuntu 8.10 that just periodically checked an email account, parsed the command, flipped the relay as necessary, read the temperature rise, and replied.<p>Writeup: <a href="https:&#x2F;&#x2F;partofthething.com&#x2F;thoughts&#x2F;hot-tub-controller&#x2F;" rel="nofollow">https:&#x2F;&#x2F;partofthething.com&#x2F;thoughts&#x2F;hot-tub-controller&#x2F;</a>
评论 #29918538 未加载
评论 #29917327 未加载
评论 #29916463 未加载
cfstras超过 3 年前
If you want to use this as a toy, sure. But please don’t rely on it for messages you want to actually get delivered: These gateways frequently drop messages for random reasons, or block your IP if you send more than a few messages at a time. Also, in countries other than the US, expect the gateways to be long gone, or completely unreliable.
评论 #29919466 未加载
评论 #29920273 未加载
评论 #29921272 未加载
评论 #29920916 未加载
评论 #29920195 未加载
woodruffw超过 3 年前
Tangentially related: it&#x27;s fascinating how much of the cellular messaging network runs on (or at least speaks) SMTP and IMAP. These SMS&#x2F;MMS gateways are just one example; Visual Voicemail[1] also runs on IMAP and it also shows up in mobile terminal (i.e., phone) testing standards[2].<p>[1]: <a href="https:&#x2F;&#x2F;www.gsma.com&#x2F;newsroom&#x2F;wp-content&#x2F;uploads&#x2F;2012&#x2F;03&#x2F;omtpvvmspecification12.pdf" rel="nofollow">https:&#x2F;&#x2F;www.gsma.com&#x2F;newsroom&#x2F;wp-content&#x2F;uploads&#x2F;2012&#x2F;03&#x2F;omt...</a><p>[2]: <a href="http:&#x2F;&#x2F;www.omtp.org&#x2F;OMTP_Terminal_Testing_1.0.pdf" rel="nofollow">http:&#x2F;&#x2F;www.omtp.org&#x2F;OMTP_Terminal_Testing_1.0.pdf</a>
评论 #29919003 未加载
croes超过 3 年前
So the article is actually about how to send an email with python because the carriers do the text message part.
评论 #29920446 未加载
评论 #29922433 未加载
评论 #29920008 未加载
评论 #29917453 未加载
themacguffinman超过 3 年前
Aren&#x27;t these basically open relays for SMS? Wouldn&#x27;t they be buried under an avalanche of spam? I&#x27;m honestly mystified at how and why carriers expose these free SMS gateways. Am I missing something?
评论 #29917729 未加载
评论 #29917427 未加载
评论 #29917443 未加载
drcongo超过 3 年前
Back around 1998 I built a Nokia phone and interface in Flash 4 that you could actually use to send me an SMS message using this exact technique behind the scenes. Unfortunately it was interesting and novel enough that it made German TV and while sat at my desk one morning my phone suddenly started buzzing constantly as a non-stop flood of messages in German started coming in. I had to turn the phone off and when I turned it back on after work it buzzed until it basically filled up and then never worked again. I had to buy a new phone and disable the message sending of the Flash site.
trentmcdougall超过 3 年前
Can anyone help me understand why carriers still offer these gateways for free? I would have thought they would charge for them?
评论 #29916739 未加载
评论 #29916352 未加载
评论 #29916305 未加载
评论 #29916297 未加载
评论 #29916684 未加载
pluc超过 3 年前
I hate everything about this article. From the video thumbnail to the misleading claims.
评论 #29921781 未加载
评论 #29920601 未加载
barbazoo超过 3 年前
I skimmed the post but couldn&#x27;t find out how one would know what provider to use. I guess you could ask whoever you&#x27;re texting with but that&#x27;s not very reliable, not everyone knows, and people change their provider.
评论 #29916111 未加载
评论 #29916060 未加载
评论 #29922521 未加载
评论 #29916242 未加载
评论 #29916244 未加载
slrainka超过 3 年前
:) Brings back memories of doing this in 2002 to blast out Student Government campaign messages to students on campus. Back then email servers were very forgiving. I just had a loop that generated all combinations of &lt;phone-number@carrier-x&gt; and send out an email from a campus IP address via sendmail. It was a very effective way to send notifications at almost zero cost.
评论 #29919106 未加载
TOMDM超过 3 年前
Man, I remember doing this around a decade ago back before some of my friends abroad had smart phones, being able to message them when they were away from their computers had such a fun novelty to it.
评论 #29916342 未加载
techsupporter超过 3 年前
This is clever but due to the astounding amounts of spam and scams I got through that mechanism (not this script specifically), I had to set this to blocked on my T-Mobile account.
评论 #29916293 未加载
评论 #29916651 未加载
antman超过 3 年前
Let me point out that receiving Telecoms are well aware and block randomly or totally messages from these services so that they appear buggy.
spotijk超过 3 年前
We used to offer such a free SMS gateway at ActiveXperts.com. Now moved to AuronSoftware.com and hid it a little better.<p>It&#x27;s meant for trial users to be able to test our software without having to have a subscription or GSM modem.<p>But those gateways saw &#x2F; see a <i>lot</i> of abuse. Even though we clearly state that each trial user only has 10 free messages we still regularly get an e-mail from an angry &#x27;trial user&#x27; because only 10 messages out their 50K+ phone number mass mailing arrived.
CTDOCodebases超过 3 年前
This article reminded me of years past when I would marvel at the Nokia 6110 and how easy it was to send text messages while exchanging message centre numbers that gave me and my friends the ability to send unlimited messages for free.
tpoacher超过 3 年前
Back during my phd I worked in a project that set up sms transponders onto the handles of water handpumps in kenya.<p>So whenever a pump was misbehaving or broke, we would observe it all on a webpage and a technician would be alerted to fix it.<p>Later on some ML was strapped to the SMS data to predict failing pumps before they failed.<p>Good stuff. sms can be very powerful in the right setting.<p>Don&#x27;t know what the author means by free here though. Sms is something you pay for, one way or another.
imranhou超过 3 年前
The primary limitation here is inability to receive responses back from users. From a business revenue generation angle, that&#x27;s probably not enough of a feature set to monetize for the carriers.
评论 #29916417 未加载
评论 #29916422 未加载
评论 #29916453 未加载
评论 #29916674 未加载
tgv超过 3 年前
Warning: that page plays sound. How can they not know that’s not done?
conductr超过 3 年前
Don’t ask your customer for their carrier information. Just use sms
gadders超过 3 年前
I remember in the UK in the 90&#x27;s you used to be able to set your phone&#x27;s SMS message centre to one in EG Finland or somewhere and be able to send all your texts for free.
bluedays超过 3 年前
Can we talk about how the function he wrote had like 15 parameters?
crumpled超过 3 年前
I used to forward all my hotmail to sms in 1997. I felt so techy doing email on my little flip phone.
Aissen超过 3 年前
Idea for a better title: the subtitle &quot;Use Python to send text messages via email&quot;
评论 #29927355 未加载
unobatbayar超过 3 年前
For free? What&#x27;s the catch?
评论 #29916390 未加载
评论 #29917715 未加载
评论 #29916228 未加载
评论 #29916243 未加载
wolfi1超过 3 年前
sadly, this seems just to work for the US, my country (in the EU) does not have such free services anymore, there used to be such a service in the 90s, unfortunately it has been discontinued
est超过 3 年前
So, how do you lookup a phone number&#x27;s provider for free?
评论 #29916370 未加载
评论 #29916349 未加载
评论 #29916393 未加载
andrewstuart超过 3 年前
Is there a way to send free SMS in Australia?
评论 #29917543 未加载