Skip to content

tiamat19/sms-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SMS Sender – Send SMS Messages from an ODS File

This project allows you to send SMS messages by reading data from an .ods file containing two columns:

  1. Phone number
  2. Message text

The script reads each row and sends the corresponding SMS through an HTTP POST request to an SMS gateway (e.g., Smshosting or compatible services).


πŸš€ Features

  • Reads .ods files using pandas and odfpy
  • Sends SMS messages via HTTP POST
  • Uses environment variables for secure credential handling
  • Prints the delivery status for each message

πŸ“ ODS File Format

Your .ods file must contain two columns:

phone_number message_text
393123456789 Hello, this is a test!
393987654321 Reminder: meeting at 5pm

No headers are required; the script reads the first column as the phone number and the second as the message.


πŸ” Environment Variables

To avoid exposing sensitive credentials, the login and password must not be stored in the code.

Set the following environment variables:

Linux / macOS

export SMS_LOGIN="your_login"
export SMS_PASSWORD="your_password"

About

A simple Python tool that reads an ODS file and sends personalized SMS messages through an HTTP gateway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages