Skip to content

A Node.js script that automates twilio's SMS sending.

Notifications You must be signed in to change notification settings

Tahabz/twilio-SMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twilio-SMS

A Node.js script that automates twilio's SMS sending.

Usage:

1- Export your {TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, FROM} environment variables:

export TWILIO_ACCOUNT_SID={accountSid}
export TWILIO_AUTH_TOKEN={authToken}
export FROM={fromNumber}

2- Write your message in message.txt

3- Write/upload your numbers in numbers.txt

The numbers should be separated by a new line:

numbers.txt:

+447830365069
+447897017184
+18162724976
+14195065216
+13195004480
....

Response Logs:

Each time you execute the script, if there are any errors, they will be printed in the console and two files will automatically be created:

  1. success-logs
    • This is where all your successful requests will be logged in the JSON format
  2. error-logs
    • This is where all your errors will be logged

About

A Node.js script that automates twilio's SMS sending.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages