Library Text Message Notification Hack

If you have an email notification system in place through your calendar and/or library automation system, you may not know it but you also have a basic text message notification system. What it takes to make this work is some basic knowledge of email to SMS gateways, how it works, and a little finagling with the wording of your email notices. This may not work for every system (and there is certainly a question or two I can’t answer towards the conclusion of this post), but it could offer libraries another notification method to customers with only a little extra staff work.

In case you didn’t know it, every cell phone number has a corresponding email address set up by the mobile carrier. This allows a person to send an email to a specific address which is then converted into a text message for the destined recipient. This is what is known as an email to SMS (or text) gateway. The rubric for discovering this email address is devilishly simple.

The first part of the address (the user name) is the person’s phone number. The second part (the domain name) requires consulting a list of Email to SMS Gateways, for each carrier has its own unique address. Here is a list of carrier gateways from mutube dated December 12, 2009.

Carrier Email
Teleflip n@teleflip.com
Alltel n@message.alltel.com
Ameritech n@paging.acswireless.com
ATT Wireless n@txt.att.net
Bellsouth n@bellsouth.cl
Boost n@myboostmobile.com
CellularOne MMS n@mobile.celloneusa.com
Cingular n@mobile.mycingular.com
Edge Wireless n@sms.edgewireless.com
Sprint PCS n@messaging.sprintpcs.com
T-Mobile n@tmomail.net
Metro PCS n@mymetropcs.com
Nextel n@messaging.nextel.com
O2 n@mobile.celloneusa.com
Orange n@mobile.celloneusa.com
Qwest n@qwestmp.com
Rogers Wireless n@pcs.rogers.com
Telus Mobility n@msg.telus.com
US Cellular n@email.uscc.net
Verizon n@vtext.com
Virgin Mobile n@vmobl.com

(If you want to double check for a carrier, you can enter “email to sms gateway [insert the name of the carrier here]” into a search engine.)

So, by taking the person phone number and finding out their carrier, you have found out their email to SMS address. For example, if my phone number was 856-555-1212 and my carrier was Verizon, my email to SMS address would be 8565551212@vtext.com. (Phone-number@carrier-domain.com)

Now that you have this address, what can you do with it? Here’s the tricky part.

When converting an email to a text message, the conversion can take the first 160 characters of an email and dumps the rest of the message. In testing this out with my library system’s calendar, it turned this regular calendar registration notification email from this: confirm-email

to this text message (two pictures, one text message):

notif2notif1

As you can see, it cut the message right at the word “Wii”.   In doing my own testing on my cell phone by sending myself multiple messages from different email addresses, the way that it converts the email to the text message is this: sender email, the @ symbol, subject line, then the rest of the message. Judging from the notification I received, the number of characters used from the above pictured example broke down like so:

  • support@engagedpatrons.org @ (27 characters)
  • Subject: Library Event Registration – Confirmatio (49; it cut off the ‘n’ of the word ‘confirmation’)
  • You are registered for the following Burlington County Library System event: Wii (80)

What this means is that, if you have a very email notification address and a long subject line, you won’t have very much space for a message with this hack. While the numbers above add up to 156, my educated guess is that there are 4 spaces that can not be counted within the retyped message as it appears on my phone screen. However, the important information here is the number of characters in the notification sender email and the subject line of the email. Once you know the number of characters they use up, you can structure the body of your email to ensure that the information you want people to get in a text message is received while not completely unintelligible for people who receive regular email notifications.

In using my notification as an example, since I know that the email and subject line are going to take up roughly 76 characters, I can structure my notification email to have the event be at the top so the resulting text message body would end up looking like this:

Wii for Seniors!

Bordentown Library

Wednesday, Dec. 23 10:30AM

That’s a total of 60 character spaces, putting me at 136 characters for the message. A blank line of 40 to 50 spaces below the last line of the event in the email notification template will ensure that they will not get any of the lines at the conclusion of the email (which would be cut off anyway by the character limit.) It should be noted that there is an additional 24 characters available for a longer program or library name. (It would not work for a program named “Understanding Addiction and the Impact on the Family” at a whopping 52 characters without cutting off the date, but it could remind a customer about the program name and location to suffice.) However, it would still achieve the goal of being a text message notification of a program registration and reminder.

What this hack boils down to is playing with the known variables (the email address, the subject line, and the total number of characters left) and seeing whether they would work for your library. For my system, it would take a restructuring of our event confirmation and reminder emails, but that is well within our grasp. It might even be possible to make this work with our automation program, but that would require more investigation.

The GIANT CAVEAT that would loom like a specter over this hack are any legal notices that are required with text messaging. With the text message pilot program, we are required to put on all of our advertising materials two statements: first, that standard text message rates apply; and second, the number of messages that a person will receive a week. The possible mitigating factors (read: upside) is that this is not an opt-in subscription program, it’s a one time notification process at the discretion of the customer, and that it could cost the customer $0.10-0.20 (the usual cost of 1-2 text messages) at most. The bottom line is that it is worth checking to make sure you are legally in the clear before going through all of this effort.

If anyone tries this out, let me know. I’m curious to hear about potential uses and results from actual field testing. I’ll keep you updated if The Powers That Be decide to use it in our library system. For me, I’m glad to share the idea because, at no additional cost, it adapts existing technology with just a little extra staff effort to give a customer a valuable and requested service.

Isn’t that what being a librarian is all about?

(Edit: Be sure to read the comments!)

5 thoughts on “Library Text Message Notification Hack

  1. I work at Mentor Public Library
    we are interested in sending SMS through email

    in regards to you last caveat … “The bottom line is that it is worth checking to make sure you are legally in the clear before going through all of this effort.”

    Do we have to check with a lawyer? What/where/who would I check with to make sure the libary is legally in the clear before doing it? Where did you find the stuff about having the marketing information include “charges may apply” and “number of messages person will receive weekly” is there a place to read more about this? Not that you did not give me enough to read :)

    • The messages regarding “charges may apply” and the number of messages per week came as part of instruction from the text message provider for the pilot program. They were very adamant about the inclusion of those two points in all of our advertising. So I called them up and asked.

      Apparently, it is not a law or regulation, but it is something that comes from the carriers. It’s a disclaimer for them so that they can avoid liability for people who would subscribe, incur charges, and then blame the carrier. For that reason, the carriers are insistent in the inclusion of that language with text services. (I’ll have to update the post to reflect that.)

      Personally, I would recommend that you would include that sort of language for the same reason: liability. If you have it in writing and posted in a visual spot (and refer to it for people who want the mobile reminder), it would as notice of potential charges for patrons to be aware of. Now, I can’t answer whether that would shield you from legal liability, but I believe adequate notice goes a long way. I always advocate for people to cross their t’s and dot their i’s when it comes to areas like this one; I wouldn’t want to expose the library to undue litigation over $.10 messages.

  2. The first item in your list — Teleflip — actually wasn’t a carrier, but rather a service that allowed you to do all this without figuring out the carrier (at least for all North American carriers). You used to be able to email n@teleflip.com regardless of carrier, and Teleflip would actually forward your message appropriately. It was handy while it lasted.

    However, Teleflip ceased operation in August 2008: http://gigaom.com/2008/08/12/teleflip-has-flipped-for-good/

    • I just copied the list without vetting the carriers. But, if it doesn’t exist, then we don’t need to worry about it. =D

      But thanks for pointing it out.

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s