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.
Yah initialise it with like this in the variable panel under DEFAULT new list(of system.Net.Mail.Mailmessage) if we are storing mailmessages
or new list(of integer) if we are storing index value as int32