[antispam-f] Re: Tab in 'From:'

  • From: Mark J <Mark@xxxxxxxxxxxxxxxxxx>
  • To: antispam@xxxxxxxxxxxxx
  • Date: Thu, 26 Oct 2006 09:04:37 +0100

In message <d364787b4e.harriet@xxxxxxxxxx>
          Harriet Bazley <lists@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> On 23 Oct 2006 as I do recall,
>           Harriet Bazley wrote:
> 
> [snip]
> > inserting the following function into Choices:AntiSpam.Usertests
> > will trap them -
> > 
> > DEF FN@Fromtab
> > LOCAL line$
> > line$=MID$(h$,LEN(k$+":")+1)
> > REM snip keyword and colon off start of header line
> > IF ASC(line$)=9 THEN=TRUE
> > REM remaining data starts with tab character
> > =FALSE
> 
> Thanks for mentioning this, incidentally, as I hadn't noticed that I was
> getting them too, and this test has now trapped thirteen otherwise
> undetectable spams.   :-)
>

I've also found them in the Date line. I've been using the simpler
INSTR(h$,CHR$(9)) in readiness for when the TAB moves...

-- 
E.Mark Jolliffe
www.poppy-land.co.uk

Other related posts: