AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Gestión de correos electrónicos
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
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">.
Component: wd290com.dll
Versión mínima requerida
  • Versión 27
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/06/2023

Señalar un error o enviar una sugerencia | Ayuda local