Conversion of string

Hello everyone, does anyone can tell me, please, how can I handle this error? The scope of the process is to send an email with some attachments, but I have this error on the name of the email address. I don’t know what should I write to recognize it. :thinking:

Thank you very much.

image

Hi @ovidiu_2088

You need to add the attachment as collection from the mail activity which you re using!

Just pass in Default value as “abc@gmail.com

Regards

Hi

Usually for array of string it should be like this

{“your mail id”}

But I wonder strMailName should be string only

In that case change the type to String

It is not string[ ] which means array of string

Change it to string type if it’s not a array

Or else go for this {“your mail id”}

Cheers @ovidiu_2088

Is strMailMame an array of mail addresses with a fixed number of addresses?

If this is the case, give it this value:
{“mail@mail.com”, “othermail@mail.com”}

Otherwise, it would be better to use a list of strings and add to it the different addresses

Greetings

Thank you all for the response. Now its work. :slight_smile: