Email links?

Posted on 1998-08-19
Last Modified: 2010-04-09
Is there anyway to attach some tag to an email link (eg: mailto:)
so that the subject lines and/or message body has text already
added for the user? I would like the subject line to say some thing
like: Info on Products please. etc. and the message body to include
words like Name: Address: PH.Number, so that an email inquiry will
be received with enough information.

Question by:Luby
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1

Expert Comment

ID: 1836825
The subject is easy:
<A HREF="">mail me</a>
I think you don't can put body messages there. That would be
possible using a form, but then the users would have to type their messages in a form textarea, not in their own mail program.


Expert Comment

ID: 1836826
Actually it's quite easy to put content into the body.  Looks like this:
" subject here&body=this is the body"


Expert Comment

ID: 1836827
Josh is right, that's what you want.
Enjoy it.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 12

Expert Comment

ID: 1836828
Caution: some web-browsers take:

     " subject here&body=this is the body"

and put *everything between the "colon" and the "closing-quote"
into the 'To:' field. Hopefully, the user will notice this,
and use cut-and-paste to move 'some subject here' into the
'Subject:' field, and move 'this is the body' into the "body"
of the E-mail message.

Since you cannot control which browser the user uses,
just be aware that you may receive E-mail with a 'Subject:'
which does not match what you embedded in the 'mailto:' tag.


Author Comment

ID: 1836829
Post it again Josh so I can give you the points.
It seems to be fine.

Accepted Solution

jbirk earned 50 total points
ID: 1836830
Thanks a lot Luby!

Author Comment

ID: 1836831
Sorry I took so long to respond

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CSS Style 8 43
..ignore the Question 1 21
ASP sending two datas 2 23
I have 3 paragraphs HTML CSS .....  wanting to choose first paragraph to make it lighter color 8 46
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question