Hello Maksym,

M>> All I need is an Outgoing filter with filter 'Any message' and action
M>> 'Move to the folder \\MAU\Familia\%ToName'
>
M>> Of course, I have an equivalent Incoming filter using %FromName. And I
M>> believe this also works with %FromAddress and %ToAddress. And if you
M>> tick the appropriate box, the folder will be created if doesn't exist.
>
> Thank you so much! I didn't even try it that way after I tried some
> other macros in filters and those didn't work. But I've tried this one
> right now, and it works fine. Again, lots of thanks here! It's at
> least a big part of the solution I need.

Sorry for my late reply. I've been busy and having hardware problems
also.

I know you would like that :)

> I'll try and play with other macros in the filter action. I've already
> tried %FolderName in the (vain) hope that if I start a reply (or a new
> message) from a certain folder, it will place the sent message into
> that folder. However, it turns out that this macro returns Outbox,
> i.e., whenever you start writing a message, TB! makes Outbox the
> current folder (even though folder focus doesn't move in the main
> program window). Does anybody know how to get (if it's possible) an
> expression to return "Name of the folder where a message being replied
> to is stored"? :)

When Outgoing filters are applied the message is in the Outbox, that is
why %FolderName returns Outbox. Try using %FolderName in a new message
or reply template and you will see it returns the proper folder name
(just the name, not the path).

One thing I tries some time ago was to use the Comments header to
'save' the folder name. In my reply templates I included the line:

  %Comments="Foldername"

That part works. But then I tried to use %Comments in the filter and
that didn't seem to work. Too bad :-(

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v3.71.03



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

Reply via email to