I'm developing an application that sends emails to customers. The body of the email contains a URL encoded hyperlink back to our site kind of like this:

http://myserver/myfolder/test.cfm?id=%409%20%2DW9I74%3D%402%5CN8%2A5%3D%3D5%2D%40%3C%3D%3DQ%5B%40%3AB%5D2Q%2B%2BN%3C44%3A3%3E3%3C%20%0A

In Yahoo, GMail, Outlook, etc. the link works fine. However Hotmail is decoding the link before it sends:

http://myserver/myfolder/test.cfm?id=@WUE^[MA6 9J?%3D5B%258D^K5@^%2BD<;5U) '((OZ<,%2BFU%25(

Anyone know how to fix this problem with Hotmail?

Hotmail will scramble anything that is surrounded by quotes in html, so remove all single and double quotes from the email. In other words:

<a href="http://www.google.com">

would need to be

<a href=http://www.google.com>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.