Hallo WilWilWil,

On Mon, 25 Oct 2004 00:11:22 +0200GMT (25-10-2004, 0:11 +0200, where I
live), you wrote:

W> In the source of a message, I can see the date I've wrote it
W> and saved. But if I don't send the message immediately, just save
W> it, I can't find a way to know the date and time I've sent it

W> Is there an automatically way to add this date and time somewhere in the mail 
itself ?

As you can see in my messages in this thread, I'm not quite in favour
of people doing this like you're suggesting. (See
mid:[EMAIL PROTECTED] and
mid:[EMAIL PROTECTED])

But as usual it is possible to do what you want with a
filter, the filter below will do what you want:

$$$$ TB! Message Filter $$$$
beginFilter
UID: [0AFCB4A2.01C4BB70.61D3587B.0AA4EC6E]
Name: date\20stamp\20for\20sent\20messages
Filter: [EMAIL PROTECTED]
ExportMessage OverwriteExist FmtText filename c:\5Csentmsg.msg template 
X-Sent:\20%Date\20%Time\0D\0A%Headers\0D\0A\0D\0A%Text\0D\0A
RunExternal CmdLine 
I:\5CProgram\20Files\5CThe\20Bat!\5Cthebat.exe\20/ImportF\3D\27\5C\5Croelof\5CSent\27;File\3DC:\5Csentmsg.msg;Read
Delete
IsActive
Ignore
endFilter

Note that you'll need to change the path in the external command,
because not everybody will have TB installed on drive I: (actually my
XP is installed on I: too)
Also you've got to change the account you're importing your message
in, my account is (for reasons only known to me) called 'roelof' and
somehow I figure that's unlikely for you. ;-)

As TB is a very smart program, it'll realize that the imported message
is a new message even though it's almost identical and the message-id
is the same (changing the sequence of the delete and import commands
won't help). So when you're already using outgoing filters, you've got
to alter them, unless they're about messages that don't need the
X-Sent header (or whatever you're gonna call it)
So when you've currently got a filter that moves sent messages to a
folder 'Friends' in the account 'WilWilWil', you need to replace the
move action for an import action to \\WilWilWil\Friends and you need
the export and delete actions inserted to your existing filter too.

To be honest, you don't need the export action in every filter. You
can create one catch all filter that exports the message to file using
the template I defined. And give that filter the option 'Continue
processing with other filters'. Set that filter at the top of the
outgoing messages.
The delete action should be included in every filter.

You won't be able to flag, park, print the imported messages via an
outgoing filter.

-- 
Groetjes, Roelof

Windows 95 not found! (D)ance (C)heer (P)arty?

The Bat! 3.0.2.1
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN

Attachment: pgpWDf8E9WZ52.pgp
Description: PGP signature

________________________________________________
Current version is 3.0.1.33 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to