Hello all, Friday, June 12, 2009, Arjan de Groot wrote: > When trying to use this macro there is however a problem. If there is > a "-" in the header's RFC name (like in "User-Agent") it doesn't work. > For example, if I put %HDRUser-Agent='The Beta!' in a template, my > message-body (literally) starts with "-Agent='The Beta!'" and the > User-Agent header stays empty.
> I think this might be a bug in the %HDR macro but I'm not absolutely > sure. Maybe it needs some extra ()'s or ""s to make it work. I don't > know. no, this macro doesn't allow dash, use %ADDHEADER("RFC Name","Value") instead. -- Bye Marek Mikus Czech support of The Bat! http://www.thebat.cz Using the best The Bat! 4.2.4 under Windows XP 5.1 Build 2600 Service Pack 3 with MyMacros,XMP,AnotherMacros, AntispamSniper v 3.2.0.6 Notebook Toshiba, Core2 Duo 1.83 GHz, 4 GB RAM ________________________________________________ Current version is 4.2.4 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html