Executes one or more 'Retrieve Messages' requests. If all new messages are requested then all new messages will be retrieved. This may mean multiple requests are sent to the PPSR if the number of messages exceeds the maximum allowed per response. If the request is filtered then the maximum number allowed will be retrieved. New messages are saved to the Database table MailboxItem.
If returnMailboxMessages is True, then this is a collection of the Mailbox Messsages that have been downloaded.
If omitted, a value of Nothing is assumed.
returnMailboxMessages
Boolean
Optional
If omitted, a value of False is assumed.
Return Value
Boolean
A Boolean value indicating whether the request succeeded regardless of whether any application errors were returned.