Today I encountered a strange error while using Lotus Notes. I had a “Cannot convert Notes Rich Text message to MIME message” error:
This was triggered when I tried to move certain mails from one account to another. And to add insult to injury, this nasty and dangerous error will make you loose data.
Let’s say you want to cut and paste a batch of 10 mails. Then that error occurs while Notes paste the 3rd message. It means you’ll loose the last 7 messages of your batch. Why? The 10 messages will be removed from their original location on cutting, and the last 7 messages will be trapped in the copy buffer. Isn’t that a reasonable reason to hate Lotus Notes?
Anyway. After several tests and experiments, I finally found the common property shared by all those reluctant messages. They all have inline images embedded in the body of the mail, like the one below:
In mail edit mode, you can get properties of these objects and get confirmation that they are inline images:
As you can see above, the edit mode lets you manipulate (cut, copy, paste, …) these embedded pictures. Let’s take advantage of this to fix our initial issue.
Here is my procedure to make these mails pass through the conversion error:
In Notes’ edit mode, cut all inline pictures, one picture at a time;
For each cutted picture, paste it as a new image in the image editor of your choice (Gimp did the trick for me);
Save each image on your local disk;
Now that all inline images are removed from the original mail, attach (but don’t paste) to it all the images you saved in the previous step;
Finally, save mail modifications in Notes and you’ll be able to move the mail without the conversion error.
This is really dirty, and isn’t bearable past a few mails. But that’s the only solution I found so far. Of course if you have a superior/automated way to address this lame bug, I’ll be happy to hear that! :)
Update (Dec. 2010)
I recently tried again to migrate mails with embedded images, but this time with Lotus Notes 8.5.2 on Windows XP (inside a Qemu instance).
Interestingly, embedded images didn’t triggered the Rich Text to MIME conversion error. Instead, inline images were automatically replaced by a generic text in the body of the mail, and the binary payload was moved as an attachment.
You can see this behavior in one of the mail I imported directly from Notes to Gmail:
This is much more acceptable…