%if:"%AbTOCountry"="a":"%attachfile=^d:\temp\acentres.xls^":""%- %if:'%AbTOCountry'='b':'%attachfile=^d:\temp\acentres-intl.xls^':''
1). You need a closing " character to complete the else clause from the first %if.
I have tried all combination. The IF statement works, but attachment with IF does not work.
2) 'Group' mailing? You mean an ordinary mail to an address book group? Or do you mean mass mailing? If the former, then no surprise, it won't work. You need to do a "mass mailing" to make this work and the condition should go into the mass mailing template. If you're already doing that, then I have no idea what might be going wrong.
Group mailing is wrong, I am doing mass mailing...
Anirban
________________________________________________________
http://www.silverstones.com/thebat/TBUDLInfo.html
