Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4054438
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:34:31+00:00 2026-05-20T14:34:31+00:00

I have a URL like this: http://localhost:9001/view/shopindex/display?keyword=test&searchPostcode=Postcode and I’m putting it in the body

  • 0

I have a URL like this: http://localhost:9001/view/shopindex/display?keyword=test&searchPostcode=Postcode and I’m putting it in the body of a new email message using HTML mailTo (I know that there are better options to mailTo but I’m restricted to this). Effectively I have this:

<a href="mailto: ?subject=Look at this link&amp;body=http://localhost:9001/view/shopindex/display?keyword=test&amp;searchPostcode=Postcode"></a>

The problem is that when I click and I get the new e-mail message opened, I get only the following in the body:

http://localhost:9001/view/shopindex/display?keyword=test

I think the mailto is identifying the & symbol in the query string of the web page URL as part of the mailto URL. Is there a way I can escape it?

Thanks!

Krt_Malta

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:34:32+00:00Added an answer on May 20, 2026 at 2:34 pm

    Try URL-encoding the ampersand character instead:

    http://localhost:9001/view/shopindex/display?keyword=test%26searchPostcode=Postcode
    

    It works fine for me in Firefox, you can test it here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have URL like this: http://localhost/PMApp/temp.htm?ProjectID=462 What I need to do is to get
I have a url string like this: http://www.google.com/cse?cx=017840637368510444960:ny1lmky7r-0&client=google-csbe&output=xml_no_dtd&q=simon+g I need to send this url
I am using codeigniter, I have URL like this ( http://localhost/en/home/submit ). My App
I have a url that looks like this: http://localhost/store/mens/category/t-shirts/item/a-t-shirt I have a class called
I've got an URL's like this: http://localhost/adminator/index.php?section=1portal&tool=2firmy and http://localhost/adminator/index.php?section=1portal&tool=2firmy&passedID=26 and I want to be
I want to have use something like this: http://localhost/test/dummy instead of this: http://localhost/test/profile.php?id=dummy I
I have a Url like this http://localhost:4737/Site/listing/NH/Plaistow/2831516 and I want it to reroute to
i have a url like this. http://localhost:8080/steer/trip/create/3 . where in my page i want
I have a URL like this for each record: http://localhost:3000/items/3/stuff.json http://localhost:3000/items/1/stuff.json http://localhost:3000/items/4/stuff.json http://localhost:3000/items/9/stuff.json when
I have this url: http://localhost/zina/Artist%20One%20Demo?l=8&m=10&c And it needs to become: http://localhost/?p=Artist%20One%20Demol=8&m=10&c&option=com_zina&Itemid=82 I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.