Help / WLanguage / WLanguage functions / Controls, pages and windows / HTML Editor functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Exports the content of an HTML Editor control to an Email variable (to send the email).
MyMessage is Email
HTMLEditorToEmail(HTMEDT_MyHTMLEditor, MyMessage)
MyMessage.Recipient = ""
MyMessage.Subject = "Test"
EmailSendMessage(MySession, MyMessage, emailOptionEncodeHeader)
HTMLEditorToEmail(<HTML Editor control> , <Email> [, <Option>])
<HTML Editor control>: Control name
Name of the HTML Editor control used.
<Email>: Email variable
Name of the Email variable into which the HTML document in the HTML Editor control is to be imported. If this parameter is not specified or is an empty string (""), the Email structure is used.
Remark: The HTML content in the HTML Editor control is automatically assigned to the HTML property of the Email variable (or the Email.HTML variable of the Email structure). The characters are encoded in UTF-8 and the corresponding charset is inserted.
<Option>: Optional Integer constant
Export options, valid only when using the Email structure:
(Default value)
A unique identifier is generated to identify each image found in the HTML file. This identifier is unique regardless of the exported HTML file.
Default operating mode.
emailOptionNoCIDAn identifier is generated for the images in the HTML file. This identifier is not unique. If multiple HTML files are exported, they can use the same image identifiers.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 26
This page is also available for…
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help