Hi Roelof,

Sunday, January 4, 2009, 11:11:51 PM, you wrote:
> Furthermore  I'm  somewhat  lost  about  your extensive use of regular
> expressions where they aren't necessary.
> You're  using  regexp  to  retrieve  the original contents of the Date
> header, where %OHeader('Date') would suffice.
> You're  using some regexp to check whether %OToList is empty and if it
> isn't   you're   inserting   %OToList,  why not simply use %OToList to
> check whether it's empty instead of the regexp, same with %OCcList.

Thanks for the tips. The template is almost exclusively based on one
that I borrowed from Silverstones so I can't claim responsibility for
the regular expressions. I've made some good progress after your help
and have come up with the following:

-----Original Message-----
From: %OFromName <%OFromAddr>
Sent: %OHeader('Date')
To: %OToList
%IF:"%OCcList"="" : "" : "Cc: %OCcList
Subject: %OSubject

%Quotes

This   works   fine   for   messages   with   a  cc, however when the
template is used to reply to a message without a cc then processing of
the macros's stops immediately before the subject. Entering the normal
%-   doesn't  seem to have any effect. Do you know how I could make it
continue to process after the %IF macro?

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