Во че нарыл =)
NAME
email2smssend - Send your emails to your GSM with smssend
SYNOPSYS
email2smssend [options] -- [smssend options]
DESCRIPTION
email2smssend allows your emails to be sent to your GSM. It's a perl script who launch smssend(1). You can control the maximum length of the SMS and the maximum number of messages to send if one is not enough.
It's designed to be easy to add in your .forward file.
OPTIONS
Options for email2smssend
-ms, --msg-max n
Set the maximum number of characters by SMS to n.
-mm, --max-msg n
Set the maximum number of SMS to send by email to n (n must be less than 10).
-i, --index
If set, each SMS (part of the same email) will be prefix by a sequence number.
-r, --reverse
If set, SMS will be send in reverse order. This is usefull in some case.
-h, --help
Display this help and exit.
-V, --version
Display the version number and the copyright and exit.
Options smssend
See the smssend man page for more informations.
EXAMPLES
This script is designed to be easy to add to your .forward. You just have to add a line like:
| email2smssend -i -ms 130 -mm 4 -- [provider name] [provider options]
In this case, emails will be sent by parts of 130 characters, with a limit of 4 SMS by email. See smssend(1) for the meaning of provider name and provider options.
AUTHOR
Written by Jean-Baptiste Sarrodie <jaiguru@maldoror.freesurf.fr>.
https://unstable.nl/cgi-bin/man/man2html?email2smssend+1