procmail
[Top] [All Lists]

How to parse and resent info embeeded in an email

2001-07-25 06:12:22
I'm interested in parsing out some summary weather info,
and then put it into a "subject" line to be emailed.


WEATHER-----------
TODAY:
  High 88F; Low 72F. Humid; breezy later.
  Ozone -
TOMORROW:
  High 87F; Low 70F. A few t-storms and humid.

Is the sample text. I've pulled subjects out of emails, etc
with formail -- but this is the first time I want to pull something
out of a body, and then resend it as a subject in an email

i.e. get weather info, put into a one line string, send email with subject of 
parsed info.

If anybody has any suggestions I would appreciate it.



-- 
Errol Casey
http://www.askerrol.org http://www.boo-bear.com
http://www.rtpnet.org   http://www.ncarrl.org
(GPG Key: Send email with Subject: send gpg )
_______________________________________________
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>