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
<Email variable>.LoadAttachment (Function)
In french: <Variable Email>.ChargeFichierAttaché
Adds an attached file to an email.
Example
// Add a file into the attachments of an email
MyMessage is Email
MyMessage.LoadAttachment(...
SysDir(srMyDocuments) + ["\"] + "Yearly Report.pdf")
Syntax
<Result> = <Email>.LoadAttachment(<File name and path>)
<Result>: Integer
  • Rank of the file in the array of attached files (Email.Attach variable),
  • -1 if an error occurred. To get more details on the error, use ErrorInfo.
<Email>: Email variable
Name of the Email variable to which the file must be attached.
<File name and path>: Character string
Name and full (or relative) path of the file to attach. A UNC path can be used. You can use wildcard characters ("*" or "?").
Component: wd290com.dll
Versión mínima requerida
  • Versión 24
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

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