Hello, Britt.
You wrote 19.10.2004 @ 15:40 in <mid:[EMAIL PROTECTED]>
using mailer: The Bat! (v3.0.1.33) Professional
BM> Tuesday, October 19, 2004
BM> Hi tbtech,
BM> Is it possible to change e-mails with a filter when receiving them?
BM> I would so like to delete this annoying "original message" the
BM> Microslaves keeps sending me.
Yes, but it is quite tricky...
Tip: just create the sorting rule which will save the letter to file in RFC
format and simultaneously filter it (using regexps, for example). In the same
rule add an action to run external program - and the program will be The Bat!
itself, with the command-line key to import just created letter and place it
into a folder. Finally, set the flag to delete original received letter.
Example (just copy all including "beginFilter" and "endFilter" lines, and paste
them into the sorting office):
$$$$ TB! Message Filter $$$$
beginFilter
UID: [FDB23990.01C4908E.33105155.23F1EEAE]
Name: Subscribe
Filter: {0\0D\0A0`0`0`Subscribe.Ru\20<[EMAIL
PROTECTED]>\0D\0A1`0`0`comp.soft.others.bat\0D\0A0`0`0`4306048\0D\0A}
ExportMessage OverwriteExist FmtText filename
C:\5CDocuments\20and\20Settings\5CAlexey\5CMy\20Documents\5CMy\20mail\5Cfake1.txt
template
%SETPATTREGEXP\3D\27(?ims-x)(.*?\5CnContent-Type:\5Cs?text/plain;\5Cs?charset\3D)\5C\22?koi8-r\5C\22?(.*?)\27%REGEXPBLINDMATCH\3D\22%HEADERS\22%SUBPATT\3D\271\27\22win-1251\22%SUBPATT\3D\272\27\0D\0A\0D\0A%SETPATTREGEXP\3D\22(?ims-x)(.*?)\5Cn\5C-\5C*\5C-+\5Cn?\22%REGEXPBLINDMATCH\3D\22%TEXT\22%SUBPATT\3D\221\22\0D\0A
RunExternal Wait CmdLine
C:\5CProgram\20Files\5CThe\20Bat!\5Cthebat.exe\20/IMPORTF\3D\22\5C\5Cpup9\5CInbox\5CTheBat\22;FILE\3D\22C:\5CDocuments\20and\20Settings\5CAlexey\5CMy\20Documents\5CMy\20mail\5Cfake1.txt\22;DELETE
folder \5C\5Cpup9\5CInbox
Delete
IsActive
IsSendQueue
endFilter
--
Sincerely, Alexey.
Using TB 3.0.1.33 on WinXP Pro SP2 (2600), spelling by ORFO2002 (CSAPI)
..with Kaspersky Antivirus Plugin (ver 3.5 Gold) & antispam filter BayesIt! 0.7.4
mailto:[EMAIL PROTECTED]
________________________________________________________
http://www.silverstones.com/thebat/TBUDLInfo.html