Hello shinE!
On Sunday, March 28, 2004, 12:16 PM, [EMAIL PROTECTED] wrote:
dh> on Sun, 28. Mar 2004 at 13:00:24 -0600 P.Johnson wrote:
>> Is it possible to add text to a Subject Line when forwarding
>> the message, using a QT or filter?
dh> of course.. :)
dh> ...
dh> Because of that I would suggest that you extend your existing general
dh> forward template by checking for the recipient where you want this to
dh> be applied and do it then:

dh> %IF:'%TOADDR'='[EMAIL PROTECTED]':#%-
dh> %ModifyOnce(Subject)%-
dh> %Subject="FWD: %OSubj (From Bill Smith)"#%-

dh> %ModifyOnce(Subject) will ensure, that the Subject is only changed
dh> once by the QT (not again, when you edit the header fields, without
dh> having changed the body before).

Brilliant-- and I think I can use this to work for me! Because it
isn't a special recipient in the sense you mean I only used the
"modify subject" part of your macro. I created a folder for
sender's messages, then did a folder "forward" template. I
believe there are pitfalls with folder templates; here's what
happened this time: When I click Forward when in this folder, the
subject line and to: fields are correct, but the message field is
blank.

%Cursor%TO="[EMAIL PROTECTED]"
%ModifyOnce(Subject)%-
%Subject="FWD: (From Bill Smith) %OSubj"#%-
This is a forwarded message.

From: %OFromName <%OFromAddr>
To: %OToList
Date: %ODateEn, %OTimeLongEn
Subject: %OSubj

===================Original message text===============
%Text
================End of original message text===========

...Any ideas?

I'm intrigued by the "%IF" part of the macro. Must be a lot of
possibilities there.

Thanks very much!

-- 

Pat

A Canadian in Houston
Using The Bat! v2.04.7 on Windows XP 5.1 Build 2600 Service Pack 1



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

Reply via email to