I’m trying to get the oldest mail in a collection. I have a get outlook activity and can extract the list.
What I want to do is take the last mailmessage (mailList.count-1) with index and assign this to a new collection. I’ve tried add to collection but I get an error about not being initalised (I think I need an assign with new list(ofstring) or something like that but I’m not sure of the syntax.
Can anyone point me in the right direction?