home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!usenet.ins.cwru.edu!cleveland.Freenet.Edu!cg656
- From: cg656@cleveland.Freenet.Edu (Michael O. Bartz)
- Newsgroups: comp.os.vms
- Subject: TPU mail quoting procedure available?
- Date: 24 Jan 1993 06:14:44 GMT
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- Lines: 27
- Message-ID: <1jtc4kINNmu8@usenet.INS.CWRU.Edu>
- Reply-To: cg656@cleveland.Freenet.Edu (Michael O. Bartz)
- NNTP-Posting-Host: hela.ins.cwru.edu
-
-
- I am currently using a TPU file that has the ability to quote
- a message when replied with REPLY/EXTRACT in mail. It's something that
- I whipped up that simply looks until it finds a blank line and
- then it deletes everything above it. Then it quotes the rest of
- the message. Simple! However not so simple since mail is in this form:
-
- non-local local mail
-
- [vax 4 line header] | [vax 4 line header]
- S P A C E | S P A C E
- [the rest of the net-headers] | [body of message]
- S P A C E |
- [body of message] |
-
- So the problem is that the TPU procedure can't tell the difference
- between net-mail headers and the body of the message. If I call the
- procedure twice, it will delete the first paragraph of local mail.
-
- Any suggestions on how I can do this? Right now I am passing an integer
- variable from a .com file that tells it how many times to loop. Messy!
-
- Thanks,
- Mike
- --
- Michael O. Bartz @ cg656@freenet.cwru.edu
- bartzmio@udavxb.oca.udayton.edu (direct all replies here)
-