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
Destroys all the deleted emails marked as deleted ("Deleted" status) from the current folder of IMAP session.
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
cMySession is EmailIMAPSession
...
IF EmailStartSession(cMySession) THEN
cMyEmail is Email
EmailReadFirst(cMySession, cMyEmail)
WHILE NOT cMyEmail..Out
EmailDeleteMessage(cMySession, cMyEmail)
EmailReadNext(cMySession, cMyEmail)
END
// Destroys the deleted emails
EmailExpunge(cMySession)
EmailCloseSession(cMySession)
END
Syntax
<Result> = EmailExpunge(<Session>)
<Result>: Boolean
  • True if the destruction was performed,
  • False otherwise.
<Session>: emailIMAPSession variable
Name of emailIMAPSession variable corresponding to the session on which the messages will be destroyed.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Linux wd230com.so
Android wd230android.jar
Minimum required version
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment