aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Insert HyperLinks at Email Body Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Insert HyperLinks at Email Body" Watch "Insert HyperLinks at Email Body" New topic
Author

Insert HyperLinks at Email Body

Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
Hi there,
Can any body let me know how to insert hyperlinks at Email Body (MS Outlook) usuing the below syntax?

Hyperlink href mailto

If we run above code will open the outlook and set to filed as domain@domain.com and subject as Email Example and body as 'Example body text for email using href mailto' .
I would like to know how can I insert hyperliks at body part as mentioned above syntax?


Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4658
    
    5

You just write it as you would a link in a HTML file.

But its a really bad idea to teach your users to click on links in email. This is how spam lives.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61222
    
  66

You can't.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4658
    
    5

Bear Bibeault wrote:You can't.

You can't write HTML? or you can't expect the mailto: portion to work?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61222
    
  66

The latter.

And as this has nothing to do with JSP, it's been moved.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4658
    
    5

Bear Bibeault wrote:The latter.


Yeah, mailto: was great in 1994, its been all downhill since then. Lots of programs released this century don't support it. And for good reasons.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Insert HyperLinks at Email Body