Forum Archive

Text message

reefboy

How do you send a text message with pythonista

Webmaster4o

You can't. Services like
Twilio charge a lot of money for this functionality.

See pricing tables on their website. It may seem cheap, but it counts up quickly.

JonB

That's not ENTIREly true.

Many, if not most, providers have a way to email-to-sms gateway. One could use smtplib to send an email to a number.

Mobile carrier   | SMS gateway domain        | MMS gateway domain
-----------------+---------------------------+-----------------------
Alltel[5]        | sms.alltelwireless.com    | mms.alltelwireless.com
AT&T[6]          | txt.att.net               | mms.att.net
Boost Mobile[5]  | sms.myboostmobile.com     | myboostmobile.com
Cricket Wireless |                           | mms.cricketwireless.net
Project Fi       |                           | msg.fi.google.com
Republic         | text.republicwireless.com |
Sprint[5]        | messaging.sprintpcs.com   | pm.sprint.com
T-Mobile[5]      | tmomail.net               | tmomail.net
U.S. Cellular    | email.uscc.net            | mms.uscc.net
Verizon Wireless | vtext.com                 | vzwpix.com
Virgin Mobile    | vmobl.com                 | vmpix.com