How to convert

1 Like

Hi
instead of assign activity use ADD TO COLLECTIONS activity where in the collections property mention as
Mail_Message and in the item property mention the value in this assign
and change the type argument as System.Net.Mail.Mailmessage

or change the datatype of Mail_Message variable as System.Net.Mail.Mailmessage

Cheers @vivekktr

@vivekktr - Mail_Message should be of type System.Net.Mail.MailMessage

it show error

can i have a screenshot of that pls
@vivekktr

in add to collections activity
collections property = Mail_Message (of type list(of mailmessage))
item property = in_TransactionItem (of type system.net.mail.mailmessage)
type argument as system.net.mail.mailmessage

Cheers @vivekktr

it seems like that variable in Messagebox activity has no value in it
kindly check that once
Cheers @vivekktr