I was working on some MIME work for a project and I must have done something to effect how rich text is being built but I don’t remember. All the MIME code is gone but now when I try and send an eMail via an agent, the body field is losing the rich text formatting and my Rich Text Tables are coming out like this:
When I debug my code i can see that throughout the script, the RichTextItem.type is 1, so it never becomes a MIME object, before or after I send the document as an eMail. The document as saved in a database shows the rich text table correctly. It’s only the eMailed doc that isn’t coming thorugh right.
The body field on the saved document:
Field Name: Body
Data Type: Rich Text
Data Length: 30718 bytes
Seq Num: 1
Dup Item ID: 0
Field Flags: SIGN SEAL
The body field on the emailed version of the saved doc:
Subject: RE: Has Anyone Seen My Rich Text Formatting?
Sounds like either your server is set to send plain text mail to internet users. Take a look at this setting in the configuration document for your mail server. If it is set to “from Notes to Plain Text”, you have your explanation.