Item from list of MailMessage but type Object?

Hi everyone,
I was trying to use for each get one by one email in the list of MaliMessage, however, the item pulled out of the list has a type as Object. Should it have MailMessage type (image below)?

@qt1211 In for each properties, Give type argument as System.Net.Mail.MailMessage. I think it will solve your problem.


Oh yeah, i just realised that i didn’t set the TypeArgument. Thank you.

1 Like