The purpose of this repo is to demonstrate the ability to combine text alerts with common automation scripts.
Clone the repo:
git clone https://github.com/AshleyNikr/SMS-Alerts.git
Create a new Gmail account (recommended) or use an existing one:
Copy the email address into .env, along with your phone number
Go to manage your Gmail account:
Enable 2-step verification:
Add an app password:
Copy that password into .env, replacing the placeholder password
Find your carrier from the list bellow:
- AT&T: number@txt.att.net (SMS), number@mms.att.net (MMS)
- Boost Mobile: number@sms.myboostmobile.com (SMS), number@myboostmobile.com (MMS)
- C-Spire: number@cspire1.com
- Consumer Cellular: number@mailmymobile.net
- Cricket: number@sms.cricketwireless.net (SMS), number@mms.cricketwireless.net (MMS)
- Google Fi (Project Fi): number@msg.fi.google.com (SMS & MMS)
- Metro PCS: number@mymetropcs.com (SMS & MMS)
- Mint Mobile: number@mailmymobile.net (SMS)
- Page Plus: number@vtext.com (SMS), number@mypixmessages.com (MMS)
- Red Pocket: Red Pocket uses AT&T or T-Mobile (for GSM SIMs) & Verizon for CDMA. See info. for those carriers.
- Republic Wireless: number@text.republicwireless.com (SMS)
- Simple Mobile: number@smtext.com (SMS)
- Sprint: number@messaging.sprintpcs.com (SMS), number@pm.sprint.com (MMS)
- T-Mobile: number@tmomail.net (SMS & MMS)
- Ting: number@message.ting.com (SMS for CDMA), number@tmomail.net (SMS for GSM)
- Tracfone: number@mmst5.tracfone.com (MMS)
- U.S. Cellular: number@email.uscc.net (SMS), number@mms.uscc.net (MMS)
- Verizon: number@vtext.com (SMS), number@vzwpix.com (MMS)
- Virgin Mobile: number@vmobl.com (SMS), number@vmpix.com (MMS)
- Visible: number@vtext.com (SMS), number@vzwpix.com (MMS)
- Xfinity Mobile: number@vtext.com (SMS), number@mypixmessages.com (MMS)
Copy the text after number@
and replace the carrier placeholder in .env
Run the python script directly:
python3 sms.py --body "\nHello, World!"
Wait for the message to show up on your phone!
Run the update script:
sudo ./update.sh