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
Fills an Email variable from the content of its ..Source property or the different variables of the email structure from the content of the Email.Source variable.
Note: This function can be useful to read a .eml file (generated by Outlook Express) or a .sta file (generated by Eudora).Note: This function can be useful to read a .eml file (generated by Outlook Express).
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
// Read the .eml file
Email.Source = fLoadText("c:\MyEmails\Test.eml")
IF EmailImportSource() = True THEN
        Info("The test.eml file was imported")
END
Syntax
<Result> = EmailImportSource([<Email>])
<Result>: Boolean
  • True if the variable or the email structure was filled,
  • False otherwise. The ErrorOccurred variable is set to True if an error occurs.
    To find out the error details, use ErrorInfo associated with the errMessage constant.
The generated code can be read in the Email.Source variable of the current thread or in the ..Source property of the Email variable used.
<Email>: Optional Email variable
Name of the Email variable corresponding to the email to initialize.
Remarks
  • To generate the email structure from the content of the Email.Source variable, use EmailBuildSource.
  • The files in MSG format (generated by MS Outlook) are not automatically imported.
  • The source of the email must use the CR separator to mark the end of lines, including in Linux.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Windows Mobile wp230com.dll
Linux wd230com.so
Android wd230android.jar
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment