PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 Notes. This number of messages evolves according to the emails received or deleted by EmailDeleteMessage.
Example
MySession is emailNotesSession
 
// Loop for reading all the incoming messages found
// in Notes
I is int
nbMSG is int = MySession.NbMessage()
FOR I = 1 TO nbMSG
EmailReadMessage(UserName, I)
IF Email.Out <> True THEN
CU.NAME = Email.Sender
CU.MESSAGE_TXT = Email.Message
...
ELSE
Info("This message was deleted")
END
END
Syntax
Versions 15 and later
<Result> = <Session>.NbMessage()
<Result>: Integer
  • Number of incoming messages found in the Notes messaging software during the call to <emailNotesSession variable>.NbMessage,
  • -1 if an error occurred. For more details about the error, use the function ErrorInfo.
<Session>: emailNotesSession variable
Name of the emailNotesSession variable corresponding to the email session to use.
New in version 15
<Result> = <Session>.NbMessage()
<Result>: Integer
  • Number of incoming messages found in the Notes messaging software during the call to <emailNotesSession variable>.NbMessage,
  • -1 if an error occurred. For more details about the error, use the function ErrorInfo.
<Session>: emailNotesSession variable
Name of the emailNotesSession variable corresponding to the email session to use.
<Result> = <Session>.NbMessage()
<Result>: Integer
  • Number of incoming messages found in the Notes messaging software during the call to <emailNotesSession variable>.NbMessage,
  • -1 if an error occurred. For more details about the error, use the function ErrorInfo.
<Session>: emailNotesSession variable
Name of the emailNotesSession variable corresponding to the email session to use.
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment