?

Log in

No account? Create an account

Previous Entry | Next Entry

I'm not the codepope, and it's been a while since I've done any personal coding projects aside from simple applications for some of my magazine columns. However my shiny new SPV has given me an idea, and I'm now a user story and several sketches into the initial architectural work.

The structure of an MMS message is interesting. When forwarded to an email address through the Orange MMS gateway, messages come through as a single multipart MIME message. These are then decoded by mail applications into attachments. However, the structure is such that it should be relatively easy to parse these messages, and handle various sections appropriately. One key point is that Orange generates a pseudo-email address for the sender which includes the originating mobile number.

So what does this give use? Well, it turns MMS into a delivery channel to web applications, and, more specifically, a means of delivering mobile blogging to Live Journal just by MMSing a specific email address!

So, the idea is this: a server component that handles incoming mail to a known mailbox, authenticates using the phone number in the header of the mail, determining the target account and then process the mail. Text will be assembled into a standard block, images will extracted and ftped to a known address. This will be used to construct an image location URI which will be appended to the document. Then, using the Live Journal XML-RPC API, and the authentication information stored by the application, a journal entry can be delivered. Once the message has been accepted the original message is destroyed to ensure user privacy.

Authenticating by phone number strikes me as a simple solution for multiple users, as it's a UID, and will be easy enough to parse out of the message headers. Using this approach a single mailbox can be used as the gateway for the application.

I'd be interested in understanding if other networks had MMS systems that worked similarly. If there's anyone reading using any other UK network (O2, Vodaphone and T-Mobile), could you drop me a line to see if you can send me a MMS to my LJ email address.

I know I could invoke the Lazyweb to do this, but I'd like to build it myself. I'm pretty sure it can be componentised to the level of being able to handle the Blogger API and the Meta-Blog API as well as LJ's - so all a user would need to do would be to register their target URI. However, I'm going to stick with LJ to start with - mainly as this is an application I want!

Thoughts and comments appreciated...

Comments

( 11 comments — Leave a comment )
kevinwmoor
Jan. 14th, 2003 10:18 am (UTC)
I'm on Orange but, as you've probably guessed, don't have an MMS enabled 'phone ATM. This sounds so impressive I'd gladly buy a new 'phone and pay a subscription to use the service.
Remember too, LJ is working on a photo hosting site as mentioned here.
marypcb
Jan. 14th, 2003 10:27 am (UTC)
kevinwmoor
Jan. 14th, 2003 11:49 pm (UTC)
Aha! I knew there was a decent link for this but couldn't find it. Thanks!
marypcb
Jan. 14th, 2003 10:20 am (UTC)
it's a neat idea. my only thought; while authenticating by phone number is simple, is it secure? does it mean the passwords being stored somewhere? I presume it's not easy to fake the from number on a phone, but could an MMS emulator fake the number? With the concern there's been about journal hijacking...
jaq
Jan. 14th, 2003 10:45 am (UTC)
I agree, an email message isn't that secure, and the headers can get faked. I don't think it is safe to just trust the sender address. On the other hand if it's only for posting, it doesn't give a route to get the password or hijack the journal, just posting 'extra' messages on it.
marypcb
Jan. 14th, 2003 12:17 pm (UTC)
it depends on how the posting widget validates the from phone number, and how that's carried in the message, and how much effort hackers are likely to go to!
teddywolf
Jan. 14th, 2003 12:43 pm (UTC)
Phone numbers would likely be about as easy to fake as IP addresses, providing you had that kind of phone equipment - and that kind of phone equipment is quite illegal.
jaq
Jan. 14th, 2003 02:45 pm (UTC)
But you don't have to fake phone numbers , just email 'From:' headers, unless I've very much misunderstood what this is about. And you don't really need special equipment for that.
green_amber
Jan. 14th, 2003 03:23 pm (UTC)
WOW!
that's it really :-)
sbisson
Jan. 14th, 2003 03:43 pm (UTC)
Re:
Beta testers will be required!
jiggery_pokery
Jan. 14th, 2003 04:31 pm (UTC)
You've got rid of the little icons, so please imagine I'm using the thumbs-up icon
No great insight here, just to say that even though I own no sort of SMS or MMS device, I do love the concept!

Will wapblogger or any of the techniques used therein have done any part of the work for you already?
( 11 comments — Leave a comment )