PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
Modifies the current folder in the messaging software using the IMAP.
This folder is found in the "Personal folders" branch.
Caution: The "Generic folders" are not supported.
Example
// Protocole IMAP
SAI_USER est un emailSessionIMAP
...
SI EmailOuvreSessionIMAP(SAI_USER, SAI_PASSWORD, ...
"imap.mondomaine.fr") = Vrai ALORS
SAI_USER.ChangeDossier("Dossiers personnels\Boîte de réception\Travail")
...
SINON
Erreur("Impossible d'établir la connexion")
FIN
Syntax
<Result> = <Session>.ChangeFolder(<Folder path>)
<Result>: Boolean
  • True if the modification was performed,
  • False otherwise (the specified path does not exist for example). In case of error, the Variable ErrorOccurred is to True. To get the details of the error, use ErrorInfo with the errMessage constant.
<Session>: emailIMAPSession variable
Name of the variable of type emailIMAPSession that corresponds to the current email session.
<Folder path>: Unicode string
Path of new current folder.
Component: wd270com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment