Solved

Email links?

Posted on 1998-08-19
7
148 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
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.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now