ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Managing emails
  • Deleted messages (Outlook messaging)
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 Outlook. This number of messages evolves according to the emails received or deleted by EmailDeleteMessage.
Example
MaSessionOutlook is emailOutlookSession

nbMSG is int = MaSessionOutlook.NbMessage()
FOR I = 1 TO nbMSG
	EmailReadMessage(MaSessionOutlook,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> = <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 get more details on the error, use ErrorInfo.
<Outlook session>: emailOutlookSession variable
Name of the emailOutlookSession variable corresponding to the email session to use.
Remarks

Deleted messages (Outlook messaging)

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

Last update: 09/26/2024

Send a report | Local help