On Mon 18 October 2004, 22:31:20 +1000, [EMAIL PROTECTED] wrote:
> I need to be able to edit the subject of the email to remove the
> [spam] prependation (ohh I like that word!).
>
> If I go to the mailbox and open it in a text editor I don'r seem to be
> able to achieve the effect desired.
>
> Any easy ways? Any thoughts?
Here's my solution to editing a received message without changing header
date/time.
The following filter writes the message to a text file and then runs a
cmd file (D:\Batch\editmsg.cmd) that opens it in my text editor, and
when the editor is closed re-imports it into the inbox of my account
named "personal". To change the account name, change the parameter at
the end of the line that starts "RunExternal".
The filter is executed by CTRL-ALT-SHIFT-E.
Change to suit your paths and text editor. Note that this is as
automatically converted from a v2 filter to a v3 filter, so it might
benefit from some tuning.
$$$$ TB! Message Filter $$$$
beginFilter
UID: [4AA35E40.01C4B193.09E630C8.30EE97ED]
Name: Edit\20Message
Filter: {\0D\0A\20`0`0`\0D\0A}
ExportMessage OverwriteExist FmtUnix filename e:\5Ctemp\5Cedit.txt
RunExternal RunHidden CmdLine d:\5Cbatch\5Ceditmsg.cmd\20personal
MoveMessage folder \5C\5C\5CTrash
IsManual
IsContinue
IsActive
IsHotkey
IsHotkeyOnly
Ignore
IsSendQueue
endFilter
,----- [ D:\Batch\editmsg.cmd ]
| "D:\Program Files\UltraEdit\UEDIT32.EXE" e:\temp\edit.txt
| d:\progra~1\thebat~1\thebat.exe /importu=%1;f="Inbox";X;IN=e:\temp\edit.txt
`-----
--
Robin
Using The Bat! v3.0.1.33 on Windows XP 5.1 Build 2600 Service Pack 2
________________________________________________
Current version is 3.0.1.33 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html