Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get plain Body content from a MailMessage

843830Aug 22 2003 — edited Aug 23 2003
HI ,
Iam trying to extract the Body content of a MimeMessage of text/html fromat using MimeMessage.getContent().Its giving message body with html format. I need to send plain body to some wireless clients.
How can I get plain text body without html tags..is there any java mail api method call exists..
help me

thanks in advance..
KT
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 20 2003
Added on Aug 22 2003
2 comments
673 views