How can i enforce plain text by generatíng a mail with LS?

Hello,

i am generating a mail with lotis script and this mails mustnot be converted to html. The settings in my location (converting outgoing mail) are “plain text and html”.

I am trying to enforce this by using the NotesMimeEntity class, but it does not work…

Does anyone have any idea for me?

F.e.:

Set mime = doctomail.GetMIMEEntity

Set header = mime.CreateHeader(“Content-Type”)

Call header.SetHeaderVal(“text/plain”)

The agent will run in the user interface.

Thanks!!

Bernd

Subject: Is the mail edited by a user?

Or is everything done entirely by code? At a quick glance, what you’re doing looks OK, but if you edit the document then it will be formatted according to the form, which has a rich text field on it – so users can enter any rich text.