How to add from and to for the MIME message

Does anybody have any idea how to add from and to for the MIME message?

My step as following:

  1. create a empty MIME message by using createMimeData
  2. addMimeHeader
  3. convert input message to stream that contain html tags
  4. addBodyPart

Thanks

Ronald,
Check out the code in WmSamples.sample.mime .

      You can also specify such information by writing to the mime header itself, in a Java service. 

Nick