PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
EmailLoadAttachment (Function)
In French: EmailChargeFichierAttaché
Adds an attached file to an email.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
New in version 22
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Example
// Add a file into the attachments of an email
MyMessage is Email
EmailLoadAttachment(MyMessage, ...
SysDir(srMyDocuments) + ["\"] + "Yearly Report.pdf")
Syntax
<Result> = EmailLoadAttachment(<Email> , <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 find out the error details, use ErrorInfo.
<Email>: Email variable
Name of the Email variable to which the file must be attached.
<File Name and Path>: Character string (with quotes)
Name and full (or relative) path of the file to attach. A UNC path can be used. No wildcard character can be used (* or?).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Windows Mobile wp230com.dll
Linux wd230com.so
Android wd230android.jar
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment