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
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: 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
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
Re[3]: Is there a way to set up a Reply to automatically use a specific Account based on the Subject?
Tuesday, July 18, 2006, [EMAIL PROTECTED] wrote: Tuesday, July 18, 2006, Robin Anson [EMAIL PROTECTED] wrote: On Tue, 18 Jul 2006 at 00:50:18 -0400, Z5worg wrote: Can one write a conditional filter for the Outgoing message to use Account XYZ if the Subject is ABC? If yes, please specify the exact macro(?). Sure. Put the following in an appropriate message template or quick template: %If:%subject=ABC:%- %account='XYZ':%- %account='LMN' Thanks. Works like a charm. Sorry, I spoke too soon. It was a fluke; and it doesn't work. Here is what I did: I have two lists -- FCNYC and FCNYC_Cafe -- filtered into a folder named FreeCycle, in Account Zworg. And I put the following macro in folder FreeCycle's Reply template -- including all the single/double quotes: %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? -- 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
Re: Is there a way to set up a Reply to automatically use a specific Account based on the Subject?
[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. -- Chris Using The Bat! v3.80.06 on Windows XP 5.1 Build 2600 Service Pack 2. Accessing a POP3 mailbox. Black holes are where God divided by zero. pgpoAwBDfdXUv.pgp Description: PGP signature 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?
On Tue, 18 Jul 2006 at 00:50:18 -0400, Z5worg wrote: Can one write a conditional filter for the Outgoing message to use Account XYZ if the Subject is ABC? If yes, please specify the exact macro(?). Sure. Put the following in an appropriate message template or quick template: %If:%subject=ABC:%- %account='XYZ':%- %account='LMN' -- Robin Using The Bat! v3.80.06 Windows XP 5.1 Build 2600 Service Pack 2 Popfile v0.22.4 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-18 12:50:18 AM Is there a way to set up a Reply to automatically use a specific Account based on the Subject? mid:[EMAIL PROTECTED] We are discussing this very topic since yesterday, in the messages starting with msgid:[EMAIL PROTECTED] which you might want to read first to avoid the redundancy. How do I get to that topic? IF you are using The Bat! and have that message downloaded, simply clicking on the link will cause the message to open. For example, try this: mid:[EMAIL PROTECTED] It should open your original message. -- Chris Using The Bat! v3.80.06 on Windows XP 5.1 Build 2600 Service Pack 2. Accessing a POP3 mailbox. To err is human, but to really foul up requires a computer. -Dan Rather pgpyL5Oz5YYlB.pgp Description: PGP signature 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?
Tuesday, July 18, 2006, Robin Anson [EMAIL PROTECTED] wrote: On Tue, 18 Jul 2006 at 00:50:18 -0400, Z5worg wrote: Can one write a conditional filter for the Outgoing message to use Account XYZ if the Subject is ABC? If yes, please specify the exact macro(?). Sure. Put the following in an appropriate message template or quick template: %If:%subject=ABC:%- %account='XYZ':%- %account='LMN' Thanks. Works like a charm. -- 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
Re: Is there a way to set up a Reply to automatically use a specific Account based on the Subject?
Hello [EMAIL PROTECTED] everyone else, on 17-Jul-2006 at 05:30 you ([EMAIL PROTECTED]) wrote: I subscribe to a mailing list which is set up so that a Reply would automatically go the email address of the message's author (instead of to the list's address). But the List is identified in the Subject. We are discussing this very topic since yesterday, in the messages starting with msgid:[EMAIL PROTECTED] which you might want to read first to avoid the redundancy. -- Best regards, Alexander (http://www.neurowerx.de) NP: Accountancy Shanty by Monthy Python (from the 1989 album Monty Python Sings) 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?
Monday, July 17, 2006, Alexander S. Kunz [EMAIL PROTECTED] wrote: Hello [EMAIL PROTECTED] everyone else, on 17-Jul-2006 at 05:30 you ([EMAIL PROTECTED]) wrote: I subscribe to a mailing list which is set up so that a Reply would automatically go the email address of the message's author (instead of to the list's address). But the List is identified in the Subject. We are discussing this very topic since yesterday, in the messages starting with msgid:[EMAIL PROTECTED] which you might want to read first to avoid the redundancy. How do I get to that topic? I tried the archive at http://www.mail-archive.com/tbudl@thebat.dutaint.com/ and there are no message ids attached to the messages. If you are referring to the topic Lists that don't overwrite the Reply-To header, my question is different. I filter two similar announcement Lists to the same folder; and each List is identified with the List name in the Subject. When I reply to the author of the message, I would like to to send the reply from different Accounts -- depending on which List. Can one write a conditional filter for the Outgoing message to use Account XYZ if the Subject is ABC? If yes, please specify the exact macro(?). If no, any other way to accomplish that? -- 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
Is there a way to set up a Reply to automatically use a specific Account based on the Subject?
I subscribe to a mailing list which is set up so that a Reply would automatically go the email address of the message's author (instead of to the list's address). But the List is identified in the Subject. So is there a way to set up a Reply to automatically use a specific email Account based on the Subject ?? -- 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