Giter Site home page Giter Site logo

xfriedspudx / sms-bulk-sender Goto Github PK

View Code? Open in Web Editor NEW
18.0 4.0 2.0 1.68 MB

SMS message bulk sender using the Telnyx API

HTML 3.90% JavaScript 91.92% CSS 4.07% Batchfile 0.03% Shell 0.08%
sms bulk-sms bulk-sms-sending telnyx telnyx-api text-messaging text-messages alphanumeric

sms-bulk-sender's Introduction

SMS-Bulk-Sender

SMS message bulk sender using the Telnyx API

Use the Telnyx API to bulk send SMS services. This project does initial checks of the numbers. It calculates how many SMS' the input text will be split into to help estimate send costs. There is the option to send the message with an alphanumeric title instead of the number. This will require a Telnyx messaging profile being created and the unique ID being used.
The messages are sent as quickly as the browser can send post requests.
To try this out before self hosting use https://sms.lily-pad.uk where this code is hosted.

  • Ensure your Telnyx account has been verified so the account isn't disabled when sending large numbers of messages.
  • Telnyx has rate limiters on certain number formats. UK long numbers for example are 6 messages a minute by default. Once the SMS Bulk Sender has successfully sent the messages from Telnyx, there may be a delay in the message being delivered while these rate limits are in place. Please speak with Telynix to have this limit removed.

Install:
Configure a webserver and copy the contents of this repository into the directory.

Latest Commit Functionality:
A huge update to the user interface, error handling and overall functionality.
The application now uses a tab step system where you can only move on to the next section once the current page is complete and valid.
The user interface offers a lot more support for what is needed in each section, prompting the user with suggestions and information on one side and colour feedback for form input status.

The error handling has been improved, the send to number is now verified and works with all countries that Telnyx supports.
The invalid phone numbers are displayed in a more user friendly way, giving the option to download them all as CSV or simply deleting them from the input field. These errors are split into three different categories:
Invalid Numbers
Missing country code
Duplicates

The system will try to send to the numbers it detects as invalid so long as there is a single valid number in the list.

There is now a confirmation page showing useful information about what was sent and gives the option to download a summary of which numbers sent correctly, which failed and what the message was.
The confirmation page also shows much more useful error messages to help diagnose exactly what went wrong if a fatal error is encountered.

TODO:
Add functionality to allow for variables in the text message.
Functionality would be driven from a CSV file used to populate the numbers, the format should be

Number, Variable 1 Text, Variable 2 text....

E.g. +447123456789, John, [email protected]

The message would be written as follows:

Hi {column1}!
To help us keep our records up to date please can you confirm your current email address is {column2}?
Have a great day!

This would display to John as:

Hi John!
To help us keep our records up to date please can you confirm your current email address is [email protected]?
Have a great day!

sms-bulk-sender's People

Contributors

xfriedspudx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

blackportt

sms-bulk-sender's Issues

Errors when adding number from my country

I have noticed that I get errors with my country number, Nigeria. The format is +23480XXXXXXXX but it adds 1 in front just like this +123480XXXXXXXX throwing up errors. How do I fixed this?

Need Changes For country code for Japan.

Hello there, the code which i have right now is configured for UK , but i want to use it for JAPAN , can you do the needful and send me the file with japan country code.

I Know It’s Something Stupid I’m Not Doing

When I insert my key, I am not getting a balance, and messages aren’t sending. But everything else is functional. I have double-checked my key, number, and everything else. What am I missing? Any help is greatly appreciated. I uploaded a test at message.politicalcontenders.com so you can see functionality of the project. TIA

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.