Item from list of MailMessage but type Object?


#1

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)?


#2

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


#3

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