MDP> %IF:'%Account'='work':'%ReplyTo="workaccount"':'%ReplyTo="homeaccount"' I'm getting a slightly better result than with Thomas' suggestion in that the value of 'Reply-To' is changing but there's not the spurious text in body.
Unfortunately it always seems to fail the test. I've got the comparison value case perfect but it never seems to match. <later> Interestingly, I made my template look like this... Account=%Account ACCOUNT=%ACCOUNT END And the results, from both accounts were: Account= ACCOUNT= END I guess that explains why the test fails, but can you spot and answer the obvious question? -- Stuart Estate Computer Systems Limited Westgate House, Westgate, Sleaford, Lincolnshire, NG34 7RJ Registered in England No 1604453. VAT No. 416 2922 63 ECS are members of the following trade organisations: The Microsoft Certified Partner Programme, The Borland User Group, and PISCES (Property Information System Common Exchange Standard) To find out more about ECS why not visit our website http://www.estatecomputers.co.uk The information in this email (and any attachment) may be for the intended recipient only. If you know you are not the intended recipient, please do not use or disclose the information in any way and please delete this email (and any attachment from your system). See http://www.estatecomputers.co.uk/email.htm for our full E-mail communication conditions. (If the above URLs do not appear as links you may need to copy the details into your browser address line to access these pages). ________________________________________________ Current version is 1.62 | "Using TBUDL" information: http://www.silverstones.com/thebat/TBUDLInfo.html

