Showing posts with label python. Show all posts
Showing posts with label python. Show all posts

Tuesday, July 31, 2007

MMS Photo Upload

MMS photo upload is really a multi-part email with photo attachment sent from a phone. To receive and process MMS photo on a server, one can either run procmail locally or use a POP/IMAP fetcher.

"Stress-free Incoming E-Mail Processing with Rails" describes how to process incoming email with Rails. MMS2R can then be used to process MMS, stripping out ads and other junk that a network provider (e.g. Sprint) may insert into the message. Sprint even goes a step further and stores the photo on their servers instead of in the message itself.

"Experimental Mobile Gateway" talks about SMS processing in Python and MMS processing to post blogs to LiveJournal.

Tuesday, April 24, 2007

Watching for New Files in Python

Here is a comparison of three techniques in Python to watch for new files on Windows. The polling approach is portable across platforms.