PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV 24 feature!
  • Deleted messages (Outlook messaging)
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
Returns the number of incoming messages in Outlook. This number of messages evolves according to the emails received or deleted by EmailDeleteMessage.
Example
MyOutlookSession is emailOutlookSession
 
nbMSG is int = MyOutlookSession.NbMessage()
FOR I = 1 TO nbMSG
EmailReadMessage(MyOutlookSession, I)
IF Email.Out <> True THEN
CU.NAME = Email.Sender
CU.MESSAGE_TXT = Email.Message
...
ELSE
Info("This message was deleted")
END
END
Syntax
<Result> = <Outlook session>.NbMessage()
<Result>: Integer
  • Number of incoming messages found in the Outlook messaging software during the call to <emailOutlookSession variable>.NbMessage,
  • -1 if an error occurred. To see the error details, use ErrorInfo.
<Outlook session>: emailOutlookSession variable
Name of the emailOutlookSession variable corresponding to the email session to use.
Remarks

Deleted messages (Outlook messaging)

In the same email session, if a message was deleted by EmailDeleteMessage, <emailOutlookSession variable>.NbMessage returns the correct number of messages found in the incoming email folder.
Component : wd240com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment