System.Collections.Generic.List`1[System.Net.Mail.MailMessage getting this message

@vinod_h

it is a collection of emails say it is stored in variable var1…then first mail is var1(0),second in var1(1) and so on

you can loop through each email usign for loop and change type argument to System.Net.Mail.MailMessage …then inside loop use currentitem to get each email

Hope this helps

cheers

1 Like