Converts the rich
text in the field to HTML (using logic similar to the
GenerateHTML method
in the
GeniiRTChunk class) and saves the
converted HTML to a multi-part MIME field. Images can be
saved as separate MIME parts, as can Text and HTML portions.
If the content of the rich text field is already HTML or plain
text to be sent as plain text, use the
SaveAsMIME method instead.
String.
The fieldname to which the mime should be saved. If this
field exists, and especially if it is the current field, this method
will fail unless the property pair Overwrite=Yes
is specified in the properties string.
HTML_headers$
String.
Can be left blank, which indicates that the content string
"Content-Transfer-Encoding: 7bit\nContent-Type: text/html;
charset='us-ascii'" will be used. If specified, it should follow
this basic format.
text_headers$
String.
Can be left blank, which indicates that the content string
"Content-Transfer-Encoding: 7bit\nContent-Type: text/plain;
charset='us-ascii'" will be used. If specified, it should follow
this basic format.
MIME_properties$
String.
If specified, these are the property pairs for saving as MIME. The
current poperty pairs allowed are:
Overwrite=YES,NO
(defaults to NO)
MimeTrack=string
(value for the $MimeTrack field, which shows on delivery as the
itemizer of the MIME. Defaults to "Itemized by Midas
Rich Text LSX Version x.xx" where x.xx is current Midas version)
NewLineOnParagraph=YES,NO (defaults to NO. Set to YES if you
want the HTML to be more readable when inspected directly)