Multiple addresses in the config file

Hi,

How to keep multiple addresses in the config file?

Hi @Paulina_x ,

just separate the emails with the ; it will consider as whole string and we can use that value to send multiple emails.

eg: abc@gmail.com;ade@yahoo.com;xyz@outlook.com

I’ve try but the is a problem:
image

@Paulina_x Enclose email id’s with double quotes example “xyz@gmail.coml;xyz2@gmail.com”

take the l out after the .com

@Paulina_x After .com remove pipe | symbol

@Paulina_x Try this {“xyz@gmail.coml;xyz2@gmail.com”}

the activity expects the following:
grafik
A string Array

which would be similar as hardcoded:

{"xyz@gmail.coml","xyz2@gmail.com"}

As you mentioned the Config file:

we would assume e.g. the config as we are using in REF

So we store there a string, seperated with a well known delimiter char, and split it later, to get back the string array:
grafik
e.g.:
YourConfigVar("YourKey").toString.Split("|"c)

3 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.