Hi all,

I'm trying to get an account based HTML reply template to work. The template is 
based on a template from the Silverstones website. It works fine in Plaintext 
mode however it doesn't produce the correct results in HTML. The relevant 
portion of the template is:

From: %OFromName <%OFromAddr>
Sent%-
%VARdate='%SetPattRegExp="^Date:.*?$"%RegExpMatch=%HEADERS'%-
%SetPattRegExp=":.*$"%RegExpMatch="%VARdate"
%SetPattRegExp="^To:.*?$"%IF:"%RegExpMatch=%HEADERS"<>"":"To: %OToList
":""%-
%SetPattRegExp="^Cc:.*?$"%IF:"%RegExpMatch=%HEADERS"<>"":"Cc: %OCcList
":""%-
Subject: %OSubj

Which produces something looking like this:

-----Original Message-----
From: Joe Bloggs <[email protected]>
Sent
: Sat, 3 Jan 2009 04:59:35 -0000
<>"":"To: "Paul Meathrel" <[email protected]>
":""
<>"":"Cc: 
":""
Subject: Whatever

I'm guessing that it isn't parsing the macros correctly or that I need to 
adjust the template. Can anyone help out?

-- 
Warmest regards,

Paul

Created using TheBat! 4.1.7 on Windows Vista
________________________________________________
Current version is 4.1.7 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to