procmail
[Top] [All Lists]

RE: Forwarding only subject & sender ...

2000-07-12 22:48:10
Thanks for your help, but I wanted to forward the mail without body and
atachments to another account, not to an smsprogram.
Anyway, I managed to put together a small recipe who works for now:

:0c
{
:0 fbwi
| cat > /dev/null

:0
! user(_at_)host(_dot_)com

}

If you think that I didn't do it the right way, please tell me.

Thanks,
Mita

-----Original Message-----
From: Matt Dunford [mailto:matt(_at_)stary(_dot_)zoomedia(_dot_)com]
Sent: 11 iulie 2000 20:53
To: Turcu Mihai
Cc: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Subject: Re: Forwarding only subject & sender ...


this might work (untested).

:0c
{
  subject='formail -z -X Subject:'
  to='formail -z -X To:'
  date='formail -z -X Date:'
  | /path/to/smsprogram $to $date $subject
}


On Mon, 10 Jul 2000, Turcu Mihai wrote:

I want to forward my mails to an account that will send them through SMS to
my GSM phone. But, I want to forward only the sender, the subject and the
date of the mail, without body. Can you please explain me how can I do that
?

Tnx in advance,
Mita



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>