Solved

Email links?

Posted on 1998-08-19
7
152 Views
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.

TIA
Lloyd
lloyd@nfld.com
0
Comment
Question by:Luby
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 2

Expert Comment

by:vendrig
ID: 1836825
The subject is easy:
<A HREF="mailto:clinton@whitehouse.org?subject=dress">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.

0
 
LVL 8

Expert Comment

by:jbirk
ID: 1836826
Actually it's quite easy to put content into the body.  Looks like this:
"mailto:someone@somewhere.com?subject=some subject here&body=this is the body"

-Josh
0
 
LVL 2

Expert Comment

by:vendrig
ID: 1836827
Josh is right, that's what you want.
Enjoy it.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 12

Expert Comment

by:Otta
ID: 1836828
Caution: some web-browsers take:

     "mailto:someone@somewhere.com?subject=some 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.


0
 

Author Comment

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

Accepted Solution

by:
jbirk earned 50 total points
ID: 1836830
Thanks a lot Luby!
-Josh
0
 

Author Comment

by:Luby
ID: 1836831
Sorry I took so long to respond
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

770 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