|
|
|
|
|
<Email variable>.ExportHTML (Function) In french: <Variable Email>.ExporteHTML Retrieves the HTML code of an email to display it in an HTML control (HTML control, HTML Display control, etc.). Images are extracted to the disk. oEmailReceived is Email //... // Read the inbox to fill oEmailReceived //... HTMEDT_Email.WorkingDirectory = "C:\Temp\mail" HTMEDT_Email = oEmailReceived.ExportHTML(HTMEDT_Email.WorkingDirectory) Syntax
<Result> = <Email>.ExportHTML(<Directory>)
<Result>: Character string HTML code that can be assigned to an HTML control (HTML control, HTML Display control, etc.). <Email>: Email variable Name of the Email variable that corresponds to the email with the HTML code to be retrieved. <Directory>: Character string Path of the directory in which the images will be saved. Remark: If the image already exists, a suffix is added to the name of the image stored on the disk (_1, _2, _n.). Remarks - Extracted images are referenced in the resulting HTML code by a "./myimage.png" tag.
- Images references of type <img src="cid:dddd"> are replaced with <img src="./myimage.png">.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|