I am trying to retrieve the whole list of messages sent from an Esendex account on a given month/day, through the GetSentMessages method of the AccountService class.
As far as I can see (from VB.Net 2008), the method only returns 100 messages, while I can see several hundreds of messages in our customer's Esendex management page, Echo > Sent Items > Sent Messages.
Module Module1
Sub Main()
Dim myAccountService As New WS_AccountService.AccountServiceSoapClient
Dim myMessengerHeader As New WS_AccountService.MessengerHeader
Dim myMessages() As WS_AccountService.message
Dim iMessageLimit As Integer
Dim iNbMessages As Integer
myMessengerHeader.Username = "xxx"
myMessengerHeader.Password = "yyy"
myMessengerHeader.Account = "zzz"
iMessageLimit = myAccountService.GetMessageLimit(myMessengerHeader)
myMessages = myAccountService.GetSentMessages(myMessengerHeader, 2010, 10)
iNbMessages = myMessages.GetLength(0)
End Sub
End Module
Is this a known limitation?
Is there a workaround?
Thanks in advance for sharing your own experience in the matter.
Regards,
GB
