On Tue 30 March 2004, 9:21:05 +1000, P.Johnson wrote:
> 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)?

The # is a delimiter, everything between the first and second instances of
# are what happens if the from address is [EMAIL PROTECTED]

The %- is a line continuation marker that has the effect of preventing a
newline appearing in the output of the template.

-- 
Robin Anson
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