How do you programmatically update a richtext field with a type of "MIME_PART"?

I have a form with several richtext fields that use the “best fit for OS” option which uses the Edit Controls object. The resulting richtext field is stored with a type “MIME_PART”. How do I update this type of field programmatically without loosing the MIME_PART type?

I’ve found code examples that create HTML mail (using mimeentity stream) but it appears that that method defaults to the BODY field and doesn’t allow you to specify a field name.

I would appreciate any help on this. Thanks…

Subject: How do you programmatically update a richtext field with a type of “MIME_PART”?

You may assign a name when you create a MIME-entity. The default name is “Body”, but nobody prevents you from using a different name.

In fact you may access this new item via the MIMEEntity or via the NotesItem class, but it is suggested not to mix these accesses.

HTH