PDA

View Full Version : handling "&" symbol in mailto



sandeepc
May 19th, 2006, 03:06 PM
Hi,
I have to ha
ve a link to an email id which has an "&"symbol in it.
examle:"myself&myfriendatfriendship.com"
if i use the code
<a href="mailto:myself&myfriendatfriendship.com">mailus</a>
my outlook is opening but the email id that is displyed in the to address is only "myself" all the letters from the character "&" are being ignored.

Does anyone know a way around this problem.

Thanks

Masterslave
May 19th, 2006, 03:13 PM
Try this:
myself&amp;myfriendatfriendship.com

sandeepc
May 19th, 2006, 03:16 PM
I have tried that, still face the same problem, used the code "& # 3 8 ;"(removing spaces in between) still having the same problem

ronaldb66
May 19th, 2006, 03:45 PM
Try %26 .

sandeepc
May 19th, 2006, 03:49 PM
Thanks a ton Ronald. your suggestion is working.:)