mail2page.py for vmobl.com [updated 2005-04-21]

This Python script intelligently excerpts e-mail and forwards it to a vmobl.com mobile phone. The parts which process the e-mail and convert it to a short text message may be useful for sending messages to phones on other networks, too.

Before using the script, you will need to change the "NUMBER" at the top of the file.

I've been using this for months, calling it from procmail when the sender matches a small whitelist. It's a great substitute for "biff", except that it can interrupt my lunch or a sound sleep if I'm not careful to turn off my phone.

Here's my procmail recipe for the use of mail2page:

:0c
* ^From:.*(series|of|whitelisted|senders)
| .home/jepler/bin/mail2page.py 

The upated version has improved handling of multipart messages.

Files currently attached to this page:

mail2page.py2.8kB



Entry first conceived on 28 March 2005, 13:50 UTC, last modified on 15 January 2012, 3:46 UTC
Website Copyright © 2004-2017 Jeff Epler