Hi guys,
I have this excel file in which I write all the emails that I need to send to, when I put A single email address it does send but then I want to add more than one email address in the list that the bot can send to. How do I separate them, I tried using semicolon as in the attachment but does not work
Anil_G
(Anil Gorthi)
May 30, 2023, 8:33am
2
@Anelisa_Bolosha
What activity are you using to send email
Cheers
Anil_G
(Anil Gorthi)
May 30, 2023, 9:41am
4
@Anelisa_Bolosha
Just to be sure can you use a trim in the code…
like in_Config("Email").ToString.Trim
Semi colon should work but if there are spaces it would fail
cheers
1 Like
Where would I use the code?
Anil_G
(Anil Gorthi)
May 31, 2023, 5:56am
6
@Anelisa_Bolosha
May I know if email is a variable?
And what is the value you are giving to it?
Cheers
Okay this is how I have declared it, yes it’s a variable:
Anil_G
(Anil Gorthi)
May 31, 2023, 6:07am
8
@Anelisa_Bolosha
After .ToString add a .Trim
But I believe this might be a different email…because in excel it is Email and not email
Xheers
1 Like
Sorry this was to just make an example in the original excel that I am using it’s ‘email’
Anil_G
(Anil Gorthi)
May 31, 2023, 6:18am
10
@Anelisa_Bolosha
Then please add .Trim there and check…better print the value to check once before send email usinn log message
Cheers
2 Likes
@Anil_G , it worked thank you so much
Cheers
1 Like
system
(system)
Closed
June 3, 2023, 6:42am
12
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.