[REBOL] How can I implement the POP TOP command in Rebol?
From: weyns:online:no at: 21-Sep-2003 9:58
I am new to Rebol and this list.
Rebol's POP functions are real easy to use.
My tests indicate that "import-email" fetches the entire email.
Help on the subject seems to confirm this:
>> help import-email
USAGE:
IMPORT-EMAIL data
DESCRIPTION:
Constructs an email object from an email message.
IMPORT-EMAIL is a function value.
ARGUMENTS:
data -- The email message (Type: string)
This is unfortunate for my goals as I am trying to make a spam filter that
need not first fetch the entire mai locally in order to figure out what to
do next. Pop's TOP command would be ideal for the job. How would one go
about implementing this in Rebol?
I have already managed one major part of this job which is kill every mail
that is over a certain size. Using /locals/size this was a no brainer and
nice and fast. After the big ones are deleted I'd like to scan the headers
only. Am I shooting way above my head?
Regards,
Conrad Weyns