ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Managing emails
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
MaSession is emailNotesSession

// Boucle de lecture de tous les messages reçus présents
// dans la messagerie Notes
I is int
nbMSG is int = MaSession.NbMessage()
FOR I = 1 TO nbMSG
	EmailReadMessage(NomUser, I)
	IF Email.Out <> True THEN
		CL.NOM = Email.Sender
		CL.MESSAGE_TXT = Email.Message
		...
	ELSE
		Info("Ce message a été supprimé")
	END
END
Syntax
<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. To get more details on the error, use 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

Last update: 09/20/2024

Send a report | Local help