File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
Including hyperlink in java mail
Joined: Sep 27, 2011
Oct 02, 2011 21:53:02
how to set a hyper link in a mail that is created through
code using java mail api 1.4
Joined: Oct 14, 2005
Oct 02, 2011 22:07:12
The easiest way is to just simply put the URL into the text of the e-mail. Quite often e-mail clients will detect URLs like that and display them as links.
Your other option is to send the e-mail as HTML, and to put the appropriate HTML codes for a hyperlink into the text.
(This doesn't have anything to do with
so I'm moving it to a suitable forum.)
I agree. Here's the link:
subject: Including hyperlink in java mail
Pass parameter with hyperlink click without showing parameter details in url
How to send Email
Reading and Writing files using Java Script
Sending mails from someone's address
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015