- May
- 40
- 0
I desperately would like to pass a URL that contains spaces as part of the body of a sendmail from BTM files.
I have tried a bunch of solutions - including trying to convert the spaces to %20 sequences.
However, although I can get syntax to work on the command line, in a batch file it still ends up broken.
so in this:
%@replace[ ,^%@char[37 37]20,%OfficialMediaFolder]
Which works on the command line - and generates a replacement of ' ' -> %20 of the contents of %OfficialMediaFolder, when executed in my batch, instead I have all spaces replaced with nothing.
So "\\Media Server" becomes "\\MediaServer"
This is way wrong. :(
%@char[37] fails.
Escaping it as shown in my @replace function fails.
If I could output the url in a format that Outlook would consume from sendmail with spaces in it - that would be fine too!
But I cannot figure out how to encode the URL in plaintext for sendmail so that it comes into outlook as a URL (containing spaces)....
Help?!!!
I have tried a bunch of solutions - including trying to convert the spaces to %20 sequences.
However, although I can get syntax to work on the command line, in a batch file it still ends up broken.
so in this:
%@replace[ ,^%@char[37 37]20,%OfficialMediaFolder]
Which works on the command line - and generates a replacement of ' ' -> %20 of the contents of %OfficialMediaFolder, when executed in my batch, instead I have all spaces replaced with nothing.
So "\\Media Server" becomes "\\MediaServer"
This is way wrong. :(
%@char[37] fails.
Escaping it as shown in my @replace function fails.
If I could output the url in a format that Outlook would consume from sendmail with spaces in it - that would be fine too!
But I cannot figure out how to encode the URL in plaintext for sendmail so that it comes into outlook as a URL (containing spaces)....
Help?!!!