Re[2]: Is there a way to set up a Reply to automatically use a specific Account based on the Subject?
Wednesday, July 19, 2006, Chris W. [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] @ 2006-7-19 6:47:27 PM Is there a way to set up a Reply to automatically use a specific Account based on the Subject? mid:[EMAIL PROTECTED] %If:%subject=[FCNYC]:%- %account='Account3':%- %account='Zworg' The Subject heading would be something like [FCNYC] AA OR Re: [FCNYC] AA When I Reply to either of the above message, I want it to use Account Account3; but it is using Zworg. Am I putting the macro in the wrong place? Or something else? You are performing a literal match. I.e., the subject must match [FCNYC] EXACTLY (no more, no less). What you want to do it perform a substring match (i.e., if [FCNYC] exists in the subject, then do something). For this, take a look at regular expressions. I looked at Regular Expressions in online help; and it is all greek to me. Would appreciate if someone would provide me with the exact syntax. -- Thanks in advance JM Using The Bat! 2.12.04 Under Windows XP 5.1 Build 2600 Service Pack 1 Current version is 3.80.06 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Access Violation
Hi I seem to keep getting this Access Violation when starting TB! Access Violation at address 00404C92 in module 'thebat.exe'. Read of address It doesn't seem to impair the operation of TB, clicking 'OK' allows the program to continue to run. It's just annoying. Any ideas? -- Best regards Barry barryh'at'kentra'dot'co'dot'uk Using TheBat! version 3.80.06 and AntspamSniper 1.6.1 Current version is 3.80.06 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Is there a way to set up a Reply to automatically use a specific Account based on the Subject?
[EMAIL PROTECTED] @ 2006-7-20 1:59:06 AM Is there a way to set up a Reply to automatically use a specific Account based on the Subject? mid:[EMAIL PROTECTED] For this, take a look at regular expressions. I looked at Regular Expressions in online help; and it is all greek to me. Would appreciate if someone would provide me with the exact syntax. I'm only a regular expression novice, so this (UNTESTED) solution probably could be improved: %SETPATTREGEXP='.*(\[FCNYC\]).*'%- %IF:'%REGEXPMATCH=%OSUBJECT''':'%ACCOUNT=Account3':'%ACCOUNT=Zworg'%- The %SETPATTREGEXP line tells The Bat! to look for [FCNYC] anywhere in a string and capture it. Then, %REGEXPMATCH is called with the old subject. If [FCNYC] is in the old subject, the result of %REGEXPMATCH is [FCNYC], otherwise the result is the empty string, . Therefore, the %IF tests to make sure that %REGEXPMATCH did not result in the empty string. If the result was non-empty, Account3 is used, otherwise Zworg is used. -- Chris Using The Bat! v3.80.06 on Windows XP 5.1 Build 2600 Service Pack 2. Accessing a POP3 mailbox. A mushroom cloud has no silver lining. pgpITgccM5RF1.pgp Description: PGP signature Current version is 3.80.06 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re[3]: Is there a way to set up a Reply to automatically use a specific Account based on the Subject?
Hello z5worg, Thursday, July 20, 2006, 12:59:06 AM, you wrote: I looked at Regular Expressions in online help; and it is all greek to me. Would appreciate if someone would provide me with the exact syntax. It would be easier to just use Contains [FCNYC]. This will not use regex, but must of course contain exactly what is within the brackets. -- Stuartmailto:[EMAIL PROTECTED] Using The Bat! v3.81.10 Beta on Windows 2000 5.0 Build 2195 Service Pack 4 Current version is 3.80.06 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Access Violation
Hello Barry everyone else, on 20-Jul-2006 at 12:37 you (Barry) wrote: Any ideas? You could try to disable all plugins and see if it still happens. -- Best regards, Alexander (http://www.neurowerx.de) NP: Star Above Parvati (Bijli Mahadev mix) by Doof (from the 1996 album Let's Turn On) Current version is 3.80.06 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Is there a way to set up a Reply to automatically use a specific Account based on the Subject?
Hello Stuart Cuddy everyone else, on 20-Jul-2006 at 14:47 you (Stuart Cuddy) wrote: It would be easier to just use Contains [FCNYC]. If this worked in a %IF macro clause, indeed. ;-) -- Best regards, Alexander (http://www.neurowerx.de) NP: Star Above Parvati (Bijli Mahadev mix) by Doof (from the 1996 album Let's Turn On) Current version is 3.80.06 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Filter for subject empty
Lately I am getting a lot of spam with no subject. I use Bayes Filter, which doesn't put it in the spam folder. How can I set up my incoming filter for indicating subject: empty. I would place it after the filter for known therefore in case one of my correspondent forget to put a subject line (it happens occasionally) it would recognize from the address and filter it to this folder. Thanks for the advise -- Best regards, Peter mailto:[EMAIL PROTECTED] The BAT 3.81.10 Beta, Windows XP, Service Pack 2 Current version is 3.80.06 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re[2]: Is there a way to set up a Reply to automatically use a specific Account based on the Subject?
Thursday, July 20, 2006, Chris W. [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] @ 2006-7-20 1:59:06 AM Is there a way to set up a Reply to automatically use a specific Account based on the Subject? mid:[EMAIL PROTECTED] For this, take a look at regular expressions. I looked at Regular Expressions in online help; and it is all greek to me. Would appreciate if someone would provide me with the exact syntax. I'm only a regular expression novice, so this (UNTESTED) solution probably could be improved: %SETPATTREGEXP='.*(\[FCNYC\]).*'%- %IF:'%REGEXPMATCH=%OSUBJECT''':'%ACCOUNT=Account3':'%ACCOUNT=Zworg'%- The %SETPATTREGEXP line tells The Bat! to look for [FCNYC] anywhere in a string and capture it. Then, %REGEXPMATCH is called with the old subject. If [FCNYC] is in the old subject, the result of %REGEXPMATCH is [FCNYC], otherwise the result is the empty string, . Therefore, the %IF tests to make sure that %REGEXPMATCH did not result in the empty string. If the result was non-empty, Account3 is used, otherwise Zworg is used. Thanks, Chris, it works. -- Thanks in advance JM Using The Bat! 2.12.04 Under Windows XP 5.1 Build 2600 Service Pack 1 Current version is 3.80.06 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html