Re[2]: external script/program

2002-10-07 Thread Benjamin Schulz

Hi Brano,

Monday, October 7, 2002, 1:42:22 PM, you wrote:

> Benjamin Schulz [BS], on Monday, October 7, 2002 at 13:37 (+0200)
> wrote these comments in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] :

BS>> but that would only work if i could create a filter which runs the
BS>> programm and does not send the mail - but i found no option for that

> filter settings - actions - run external program
> of course, you can set, when filter will be executed, just like normal
> filtering (regexp and so on...)

> that's it :) You will change the body, etc...and import that mail back
> to THE BAT.

and than? send it the second time? when my external program is called
the mail is already send, so, my question is: how can i set an
outgoing filter which does everything but sending the mail?

Mit freundlichen Gruessen
Best regards

-- 
Benjamin Schulz
 |- mail: [EMAIL PROTECTED]
 `- web : www.hnc.cc


There are 10 types of people: those who understand binary and
those who don't.



Current version is 1.61 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html



Re[2]: external script/program

2002-10-07 Thread Benjamin Schulz

Hi Brano,

Monday, October 7, 2002, 1:25:59 PM, you wrote:

BS>> at the one hand i want to change some header, right, therefore xray
BS>> would be a good solution, but i want to do some textchanges, too - where
BS>> thebat's regexp and template features doesn't suffice :/

> you can use every text processor, like perl or other script language.
> You will do "filter" for outgoing (incoming) messages, run script and
> import those "changed" mails back. It should work :) And also with
> xrayapp it is nice solution.

but that would only work if i could create a filter which runs the
programm and does not send the mail - but i found no option for that
:(
because then i had no more problems, i would create two filters:
preprocess: matches only if a special kludge or something doesn't
exists and calls my script which does it's job and adds the header
normal: matches only if the kludge exists and sends the mail



Mit freundlichen Gruessen
Best regards

-- 
Benjamin Schulz
 |- mail: [EMAIL PROTECTED]
 `- web : www.hnc.cc


There are 10 types of people: those who understand binary and
those who don't.



Current version is 1.61 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html



Re[2]: external script/program

2002-10-07 Thread Benjamin Schulz

Hi Peter,

> On Mon, 7 Oct 2002 12:27:29 +0200
> Benjamin Schulz <[EMAIL PROTECTED]> wrote:

>> i need a solution for changing mails before sending using an external
>> script, 

> What part of e-mail you want to 'change'???

at the one hand i want to change some header, right, therefore xray
would be a good solution, but i want to do some textchanges, too - where
thebat's regexp and template features doesn't suffice :/



Current version is 1.61 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html