On Monday, March 29, 2004, 5:13 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).
PJ>... I created a folder for
PJ> sender's messages, then did a folder "forward" template. I
PJ> believe there are pitfalls with folder templates; here's what
PJ> happened this time: When I click Forward when in this folder, the
PJ> subject line and to: fields are correct, but the message field is
PJ> blank....
Could not get that folder template to work, so removed the new
folder and template, and instead used the account properties--
forward. I used the %IF macro to specify the original sender,
added the %TO and it now works like a charm:
%IF:'%OFromAddr'='[EMAIL PROTECTED]':#%-
%ModifyOnce(Subject)%-
%Subject="FWD: (From Bill Smith) %OSubj"
%TO="[EMAIL PROTECTED]"#%-
This is a forwarded message.
From: %OFromName <%OFromAddr>
To: %OToList
Date: %ODateEn, %OTimeLongEn
Subject: %OSubj
===================Original message text===============
%Text
================End of original message text===========
...Not sure what the #%- signifies (in the first line of the
template)?
Thank you again!
--
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