|
|
|
|
HTMLEditorToEmail (Function) In french: EditeurHTMLVersEmail 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 = "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 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: | | 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. | emailOptionNoCID | An 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
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|