Mailto with ampersand RRS feed

  • Question

  • Hello,

    I'm having a bit of trouble with a mailto.  The e-mail address I need to link to is PL&F@hotmail.com.  When I coded this in html, I used PL%26F@hotmail.com, and it worked fine.  This dosen't seem to work in SharePoint.  What code do I have to use to get the ampersand to work?  Oh, and the address can't be changed, it's not one I have control over.


    Monday, November 7, 2011 4:34 PM

All replies

  • I'm not sure where you are trying to use this but try changing the & for &
    Monday, November 7, 2011 5:27 PM
  • Didn't work.

    I made a link in my navigation, so that my left hand menue has a contact button.  In the URL, I just typed 'mailto:PL&F@hotmail.com'.

    Monday, November 7, 2011 5:31 PM
  • as you've discovered & is reserved in the mailto URL http://www.ietf.org/rfc/rfc2368

    I found that if you encode the %26 though it seems to work, that is replace your & with %25%32%36

    Monday, November 7, 2011 7:07 PM
  • Perfect, thanks.
    Monday, November 7, 2011 7:34 PM