mail2sms - reads a (MIME) mail and converts it to a short message.
mail2sms [options] < mail
mail2sms offers search and replace, conditional rules, conditional search and
replace etc to create a custom output. It can optionally pipe its output into
a specified program.
- -c <config file>
- Specifies what config file to read. It can be used repeatedly.
- -d
- Switch on debug messages in the log file
- -I <include dir>
- Adds a directory to the include path.
- -l <logfile>
- Specify what file to write all log texts to.
- -n
- Prevents mail2sms from reading the default config files.
- -o
- makes mail2sms write the sms message to stdout when completed (and not
invoke any sub-command).
- -p <phone number>
- sets the $phone variable (see the run command)
- -q
- shuts off all logging
- -v
- Shows mail2sms' version number then quits.
mail2sms has been written by Daniel Stenberg <daniel@haxx.se> with lots of
help from friendly contributors, such as:
- Linus Nielsen <linus@haxx.se>
- Kjell Ericson <kjell@haxx.se>
- Bjorn Stenberg <bjorn@haxx.se>
- Alexander Bergolth <leo@strike.wu-wien.ac.at>
- A. Ljunggren <andreas.ljunggren@ericsson.com>
- Peter Kundrat <kundrat@gic.sk>
- Tomi Malensek <tomi@insert.si>
- Balazs Nagy <julian7@kva.hu>
- Adrian Pavlykevych <pam@polynet.lviv.ua>
http://www.contactor.se/~dast/mail2sms/