I am trying to migrate Notes mails to another Content DB(IFS). While doing so using Java utility, the mail is loosing its style formating & it is being sent in plain Text format.
We have found that the SMTP routing address for this content DB is an internet mailing address & when I use this utility to send an internet mail it looses the format. The same utility works fine while sending mails to Notes address.
We concluded that it has something to do with setting preference for MIME(which can be set manualy in Notes through Location Preferences->Mail). But we are not able to find any way to set it using Notes API(LOTUSSCRIPT/COM/OLE CLASSES).
Can you please help us on this?
Subject: Problem with sending a rich text email using a Lotusscript
Check the server configuration document, under the MIME tab/Conversion Options tab/Outbound tab to see if the Message content: is set to “from Notes to Plain Text”. If so, change it to “from Notes to Plain Text and HTML”.
Subject: RE: Problem with sending a rich text email using a Lotusscript
Thanks Ben for quick response.
Actually I am using the Lotus Notes utility running on my machine to send this mail using java.
I don’t have access to Domino server directly.
Is the setting you are talking about is to be done at the Lotus Notes user application or part of server configuration?
Also, one more thing, If I send mail to internet address using Lotus Notes directly then it preserves the format. So, I want to apply the similar kind of setting while I am sending the mail through script/code.
Please respond on this.
Subject: RE: Problem with sending a rich text email using a Lotusscript
Here is my theory. I may be incorrect, but I am fairly sure have seen this exact scenario before.
On the client, there is a setting in the Location document under the Mail tab called Format for messages addressed to internet addresses: (seee below). In the location document shown, the setting is “Notes Rich Text Format”, but I am guessing yours is set to “MIME Format”. With that set to MIME Format, the Notes client itself would translate the message you sent manually into MIME, and it would be a complete MIME with formatting and such. But messages sent through Java or LotusScript are not translated to MIME by the Notes client, but rather by the Domino server, and the Domino server uses the configuration document as I described before. So, even though it sounds odd, the messages you send manually will be converted to a MIME with formatting (basically, an HTML part), and the messages you send programmatically will be sent as plain text. Therefore, you need to convince the people who control the server to change the configuration.
Subject: RE: Problem with sending a rich text email using a Lotusscript
Thanks once again Ben for taking an extra step to explain this thing.
Here, the issue we have in changing server configuration is: we are having almost 20 Domino servers serving the large mail network here. So, in this case we need to touch something very big.
Now, what I want to know is, the server property that you are talking about can affect the whole system to what level?
Also, is there any other way to force the Java utility /Lotus Script to use Lotus notes client setting?
Enhancement to clarity is much more appreciated.
Thanks.