This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi Everyone, I am able to send the mail but the mail is comming as a text/plain message whereas actually it is complete html code. I know I should set the content type as text/html but dont know where is the ContentType class or the MIME header class. I saw the java.net package and in that the ContentHandler class, but this has a getContent() which takes a URL as parameter. So its of no help as such. Can you let me know how do I resolve this problem Thanks Kajol
Kajol, The only one difference between plain text and html is the way it is interpreted, unless you tell me that the html tags disappear en route (which is impossible). Regards
Omar IRAQI Houssaini
Joined: Dec 04, 2000
Hi Omar, I didnt get u? See its not dissapearing. I want to know where do I insert the ContentType. Which package should I import and which class. Thanks, Kajol [ July 02, 2002: Message edited by: Kajol Shroff ]