• Post Reply Bookmark Topic Watch Topic
  • New Topic

text formatting in JavaMail!!!!!!!!!!! URGENT!!!!!!!!!  RSS feed

 
Hd Desai
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i am using JavaMail API.
i want to format my text which will be in body of mail.
e.g if if enter <b></b> then it should make that text bold.
basicaaly i want support for <b><br><u><i> etc..........
now wht is happening is if i enter <b>Hello </b> inteaf of printing Hello in bold it prints tags as it is.
pls help me.
thanks.
 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please send the code snipt in which u are getting problem, to understand the problem.
 
Himanshu Pathak
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
set the mime type to text/html.
hope it will work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!