Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting font and Color in body text while sedding Email through Java Code.  RSS feed

 
Arshad Masood
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I am having a problems in setting font and color while sending email using the Java Code. How can i do this?

I want the body text sent from my side to the recipient to be a bit colourfull.

I write something like that

strBody = "<strong>Hello!</strong>"

But when the message is recieved on the other side such as
on a Yahoo or Hotmail account it is displayed as it is.

<strong>Hello!</strong>

I want the word "Hello!" to be Bold.

canh anyone help me.

Regards



Arshad
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!