Article View: news.software.readers
Article #223049Re: 40tude Filter on body content?
From: King of the R.O.U.S.'s
Date: Tue, 08 Jul 2008 23:18
Date: Tue, 08 Jul 2008 23:18
38 lines
2439 bytes
2439 bytes
Ryoma wrote: > First then all you obviously have to retrieve all bodies, not > only headers. No problem with that, just want to avoid having to read them all the time. > Try this replacing WHATYOUNEED with a word: So do I replace this with what I want to avoid, or a keyword to use in the filter? > program OnBeforeSavingMessage; > > const parola_body='WHATYOUNEED'; > const maxint=2147483647; > var k:integer; > z:string; > > begin > BuildPostText(Message, IsEmail); > > z:=message.text; > k:=pos(parola_body,z); > if k > 0 then message.insert (1, 'X-Body: WHATYOUNEED'); > > end; > begin; > end. What do I do with this? Where do I put it? I'm OK with filters (Usually) but this is rather out of my league. Thanks BTW :^> ~Inigo
Technical Details
Message-ID:
<1ctbizmyfqrxf.hknmh4mwjx3q$.dlg@40tude.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<19v265o99gkli.17o2eli8vuk7y$.dlg@40tude.net> <vy0xr1mzqebw.dlg@ID-84652.user.uni-berlin.de> <7r2b82wd5sj0.19whgp7p91b5a.dlg@40tude.net> <590hdn3d2ie0$.dlg@ID-84652.user.uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <1ctbizmyfqrxf.hknmh4mwjx3q$.dlg@40tude.net> Subject: Re: 40tude Filter on body content? Date: Wed, 9 Jul 2008 00:18:04 +0100 From: "King of the R.O.U.S.'s" <NG-Stuff@_NOSPAMPLEASE_dotzyne.com> References: <19v265o99gkli.17o2eli8vuk7y$.dlg@40tude.net> <vy0xr1mzqebw.dlg@ID-84652.user.uni-berlin.de> <7r2b82wd5sj0.19whgp7p91b5a.dlg@40tude.net> <590hdn3d2ie0$.dlg@ID-84652.user.uni-berlin.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 08 Jul 2008 18:18:10 -0500 Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.15.41 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-No-ArchiveYes: yes X-Antivirus: avast! (VPS 080708-0, 08/07/2008), Outbound message X-Antivirus-Status: Clean Lines: 38 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-ALR8GCJYsKcP8ieWVQhDHNRKZI33glw4keuMCMm3z7LPSgx7saWQTsdo9Kq8y3vP+UoGQclV7DO4ihh!lIACTh14vqKeDtQUBbRYILsb2FRMH2bIbR0cIDF/TAYOmkMX28FvEjxZL6veAxCSSAFD X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39