• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic