|
|
|
|
- Deleted messages (Outlook messaging)
<emailOutlookSession variable>.NbMessage (Function) In french: <Variable emailSessionOutlook>.NbMessage Returns the number of incoming messages in Outlook. This number of messages evolves according to the emails received or deleted by EmailDeleteMessage. 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 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|