Re[2]: Filter question

2001-01-11 Thread Emmanuele Vigni

Hello Januk,

Thursday, January 11, 2001, 9:31:23 AM, you wrote:

JA Hello Thomas,

JA TF = Thomas Fernandez 

JA On  Thu, 11 Jan 2001  at  16:15:24 GMT +0800 (which was 12:15 AM where
JA I live) witnesses say Thomas Fernandez typed:

TF Hi Emmanuele,

TF On Thu, 11 Jan 2001 09:03:41 +0100GMT (11/01/2001, 16:03 +0800GMT),
TF Emmanuele Vigni wrote:

EV There is also unwanted text in them, but only one email to capture..

TF Let me play a bit here. I'm really not good at RegEx, but I'll give it
TF a shot:

TF %RegExpMatch="%Text" // The body of the message is our source

TF Match algorithm:
TF 1.) Find "@" character
TF 2.) Return the string consisting of all characters between the space
TF preceding this character and the space or cr following this character.

TF Give me a little time (couple of days should do) to put this into a
TF RegEx script. ;-)


JA  I already did this one some time ago.  If I remember correctly, the
JA  best one was:

JA 
%TO=''%TO='%SETPATTREGEXP="(?is).*?[^-_.\w]*?([-_.\w]{2,}?@[-_.\w]{3,}?)[^-_.\w]"%REGEXPBLINDMATCH="%TEXT"%SUBPATT="1"'

JA It finds the first e-mail address in any message.


Ok, tnx. But where I have to put that code in The Bat??? I am new...

--
Emmanuele

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Filter question

2001-01-10 Thread Emmanuele Vigni

Hello everybody,

I am new. I'd like to know if is it possible, and if yes how, to
configure The Bat! in order to
make a canned reply that captures from the body of a received message
ONLY the e-mail inserted in it and send it as a new message to another
address that I specifie.
Thank you very much,

--
Emmanuele



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org





Re[2]: Filter question

2001-01-10 Thread Emmanuele Vigni

Ciao Andrey,

Thursday, January 11, 2001, 6:53:27 AM, hai scritto:

AGSAA Hello!


AGSAA Wednesday, January 10, 2001, 10:58:55 PM, Emmanuele Vigni 
[EMAIL PROTECTED] wrote:

EV I am new. I'd like to know if is it possible, and if yes how, to
EV configure The Bat! in order to make a canned reply that captures
EV from the body of a received message ONLY the e-mail inserted in it
EV and send it as a new message to another address that I specifie.

AGSAA So does the messages to be processed by that filter contains *only* the
AGSAA e-mail addresses you want to extract or there are some additional (and
AGSAA unwanted) text in them?


There is also unwanted text in them, but only one email to capture..


--
Emmanuele Vigni - System/Network Administrator 
Phenix by Tecno Net S.r.l. gruppo Grenzor S.p.a.
via Roma 33 - 31033 Castelfranco Veneto (TV)
Tel. 0423 498446 - Fax. 0423 491464
Happy Slackware user!



-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   mailto:[EMAIL PROTECTED]
To Unsubscribe from TBUDL, double click here and send the message:
   mailto:[EMAIL PROTECTED]
--

You are subscribed as : archive@jab.org