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
how to implement sending mail?
Automated mail from the recepient
WA #1.....word association
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014