Hello ztrader,


On  Saturday, September 02, 2000  at  15:03:51 GMT -0700 (which was 3:03 PM
where I live) witnesses say ztrader typed:

> 1. External pgm writes a batch file for TB.

> 2. TB sees this file and executes:
>      /check dummy (this gets the POP3 mail)
>      'dummy' filter puts all mail in a Unix file
>      /export flag file (this tells the external pgm it is done)

> 3. External pgm process the Unix email file, then
>      writes another batch file for TB

> 4. TB sees this file and executes:
>      /import processed file to 'real' mail account inbox

<snip>

> Any way to get TB to run this folder through the filters?
> OR - is there a better way to do this? As a beginner, I'm still
> learning about TB :-).



 I'm not sure I'm following you completely, so please let me know if
 this is applicable.

 You want TB to fetch your mail from the server, export it, have an
 external program process it and then import it back into TB?

 If that's the case, do you already have the external program, or are
 you planning on writing one for this task?  Either way, there may be
 a less complicated solution for what you want.

 My suggestion would be, get a program that will act like a local mail
 server (Hamster springs to mind, but I'm sure there are lots of other
 ones).  Hopefully you can find one that will store the messages in a
 plain text file format.  Once you do that, have your filtering program
 run on this server file.  When that's complete, TB could just
 download the mail like normal, except it would get it from your local
 server instead of your ISP.

 If this is not acceptable, then how about creating a second account
 (account B)in TB.  So now you'd have account A and B in TB.  Change
 account A so it never checks your mail server for new messages.  In
 account B, change your e-mail address slightly (eg [EMAIL PROTECTED]),
 and set account B so it can check your mail for you.  Also, under
 Networking and Administration, select "Allow Local Delivery."  This
 just bypasses your ISP's mail server.  In fact, you can make it so
 Account B can not access your ISP's mail server, and this should
 work.

 Now for the rest of this, you'll have to play around to find the best
 solution. You can export using filters, or using command line
 parameters in a batch file.  See the help file for use of the /Export
 command line parameter (it's under the contents tab, not the index).
 Have your batch file call your external program, then use the command
 line /Import function to import your processed file back into a
 subfolder in Account B.  Run a manual filter on this subfolder.  This
 manual folder should redirect your messages to the address specified
 in account A (eg [EMAIL PROTECTED]), and delete them from the
 subfolder.  Now your messages will be processed as though you were
 downloading them off of your mail server.

 This second method may prove to be effective, you'll just need to
 play around to see what will work best for your purposes.  Hope this
 helped.
 


-- 
Thanks for writing,
 Januk Aggarwal
 See header for e-mail address

 Using The Bat! 1.46 Beta/3
 under Windows 98 4.10 Build 2222  A 

-- 
--------------------------------------------------------------
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 : [email protected]


Reply via email to