Mon, 9 Aug 2004 21:04:39 +0300 (2:04 PM EDT here) Robert Golovniov wrote:
> Hello!
> I have a little problem with my headers. In the message
> templates I have this line:
> %SetHeader("X-Request-PGP","https://www.biglumber.com/x/web?qs=golovniov%40interia.pl")%-
> When I get the message, however, I see the header changed to:
> https://www.biglumber.com/x/web?qs=golovniov.pl
> Is there any way to fix it? Thank you very much in advance!
The problem seems to be that %SetHeader doesn't like the "%" in the
partial string %40interia.pl .
I seem to remember reading that if you want a special character (% is
one of them) to appear as itself, you must precede it with a %. As a
test, I created a created quick template named Test . The content of
Test was only: %%
When I typed Test[Ctrl]+[Space] below, and this is what appeared:
%
Which is a long way of saying that I think(!) that this (note the
...%%40inertia.pl) will work:
%SetHeader("X-Request-PGP","https://www.biglumber.com/x/web?qs=golovniov%%40interia.pl")%-
Please let us know what happens.
> P.S.: The header should work fine now via GPGrelay, but I wish to
> fix it in The Bat!
> The Bat! v2.12.00 Windows 2000 5.0 Build 2195 Service Pack 4
Using: The Bat! v2.12.00, BayesIt! 0.5.5, MyMacros 1.11
Windows 2000 v5.0 - Build 2195 - Service Pack 4
--
Daniel A. Grunberg Kensington, Maryland, USA
homepage: www.nyx.net/~dgrunber/
________________________________________________
Current version is 2.12.00 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html