This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes insert a URL using mailto tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "insert a URL using mailto tag" Watch "insert a URL using mailto tag" New topic
Author

insert a URL using mailto tag

Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
Hi,

<a href="mailto:foobar@example.com?Subject=Test&body=Click <a href='http://www.example.com'>here</a> to go to the site">E-mail</a>

If i click on the above link, it opens outlook with message body as

Click <a href='http://www.example.com'>here</a> to go to the site

Is it possible to avoid <a href tag and just display "here" in the message and if someone clicks on the link "here", it navigates to the URL.

Thanks,
[ May 13, 2008: Message edited by: Rajeev Ravindran ]

SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Think it depends on outlook and I doubt there is anything you can do with the html.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: insert a URL using mailto tag
 
Similar Threads
href in JOptionPane
struts tags on tomcat server
Struts tag lib problem on tomcat 4.1.29
site development
javascript: referrer unknown