Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Email links?

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
Luby
Asked:
Luby
  • 2
  • 2
  • 2
  • +1
1 Solution
 
vendrigCommented:
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
 
jbirkCommented:
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
 
vendrigCommented:
Josh is right, that's what you want.
Enjoy it.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
OttaCommented:
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
 
LubyAuthor Commented:
Post it again Josh so I can give you the points.
It seems to be fine.
Luby
0
 
jbirkCommented:
Thanks a lot Luby!
-Josh
0
 
LubyAuthor Commented:
Sorry I took so long to respond
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now