Can I change the text content of a message using setText()?
0 posts in topic
Flat View  Flat View

Posted By:   Jim_Dyer
Posted On:   Monday, May 20, 2002 04:33 AM

I'm creating a MimeMessage object from a message file. I then want to change the text part of the message and write the message back to disk.

When I use the setText method of Part on the text part it doesn't seem to change the message contents yet it doesn't throw an exception. Is this an invalid use of setText?

About | Sitemap | Contact