PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WINDEV 26 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Exports the content of an HTML Editor control to an Email variable (to send the email).
Example
MyMessage is Email
HTMLEditorToEmail(HTMEDT_MyHTMLEditor, MyMessage)
MyMessage.Recipient = "flo-us@gmal.com"
MyMessage.Subject = "Test"
EmailSendMessage(MySession, MyMessage, emailOptionEncodeHeader)
Syntax
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 corresponds to an empty string (""), the Email structure will be 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:
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.
emailOptionDefault
(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.
Business / UI classification: UI Code
Component: wd260obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment