Custom Email to SMS notifications

October 22, 2011

I've finally gotten my email-to-sms script fully tested and working. I can easily add providers or new destinations. Multiple recipients per email address is now a possibility, and multi-server redundancy is also in place. Instead of cutting off the message if it's too long, the message is now split into multiple messages.I just need to work on a few minor last-minute items such as automating the cluster synchronization and cleaning up some of the content filters. (i.e. message specific content that is redundant needs to be removed such as a sender duplicating information in their email subject and body – SMS messages are limited on size and this can roll the message over to multiple messages.)Currently I'm using CDYNE and Clickatell for providers, but I can easily add additional ones if needed and when creating a "mailbox" I can specify which provider to use along with which phone number(s) to send the message to.Once these final touches are completed, I need to see about some form of pretty GUI to manage it all as currently it's a text file I have to edit to add additional recipients. This could easily be expanded to use a database, but for my small-scale requirements the database overhead (especially if I want to retain the redundancy of multiple servers) would be too much work.Tags: #geek #tech #sms #coding

To comment or reply: View post on Google+

Tags: , , ,

3 Responses to Custom Email to SMS notifications

  1. Christopher Coyne on October 22, 2011 at 4:51 pm

    I would not how you do it..but longer messages, How about not spreading over multiple messages…. but scroll within the bubble and tap to close or the slide to reply. or provide a short URL to see the rest,

  2. Kristopher Jordy on October 22, 2011 at 8:17 pm

    Good ideas, but unfortunately would not work for what I'm doing.

    The message character limit is a limit of the SMS technology. In order to implement any other form of scrolling etc. it would need to be an application specific to a smaller set of phones. By using SMS and just splitting up messages I am not as limited by what devices can receive them.

    Adding a URL to click for the remainder of the message also limits which phones will be able to read the complete message, plus adds more infrastructure requirements and additional points of failure.

    My intention for building this was to have a simple yet reliable and redundant method of delivering alerts to a cellphone from services and providers who support email notifications but not text/SMS messaging.

    Once I'm done with getting it to work for my needs I may make a slightly modified version to share. Not sure yet :)

  3. Christopher Coyne on October 22, 2011 at 8:47 pm

    How about integrating Twitlonger similar to Twitter messages in length 140-160 Char shortens longer messages to a link. Have you looked at Boxcar? I'm no expert just thinking aloud.




Leave A Reply.

To comment or reply, please view the original post on Google+ by using the link provided above.



Switch to our mobile site