|
|
|
|
|
EmailExpunge (Function) In french: EmailDétruit Destroys all the deleted emails marked as deleted ("Deleted" status) from the current folder of IMAP session.
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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|