Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Embedding hypertext link in e-mail using java.mail  RSS feed

 
Anand Vasan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to add a HYPERTEXT LINK IN JAVA MAIL . IF U Have any idea please give . Thanks
 
Van Glass
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
basically you need to ensure that the Content-Type header of your email message is "text/html" Then just include any HTML code in the body of your message and you are all set. Hyperlinks will show up automatically for those email clients which support HTML.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!