On 21 Jan 2014, at 23:12 , Parv <parv(_at_)pair(_dot_)com> wrote:
Then, send an email of first n (120 is it?) characters of one of the
above two strings.
I tried this:
SUBJECT=`formail -zx "Subject:"`
VERBOSE=ON
:0c
{
:0fw
| formail -I"" | grep -v "^>" | perl -e "$/ = undef; $_ = <>; s/\s+/ /sg;
print substr $_, 0, 200"
:0
! $SMS
}
:0fwh
|formail -b -I"Subject: [$ARG] $SUBJECT"
}
but what I got forwarded to the SMS address was the entire message, including
the quoted lines instead of only the first 200 characters of the non-quoted
lines.
--
Kickboxing. Sport of the future.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail