Kytyzow
November 14, 2019, 10:09am
1
Hello,
I would like to send an e-mail with the Send Outlook Mail Message activity to multiple recipients.
I have already tried to separate the recipients with a semicolon or comma. Unfortunately this did not work.
Is there a solution to this?
Many greetings
3 Likes
Hi
Welcome to UiPath community
Semicolon would work
Kindly have a view in this thread
I receive following error with β,β (comma) as recipient separator: βSend Exchange Mail Message : One or more recipients are invalid.β
BUT it works with β;β (semicolon) if there is NO SPACE behind, i.e. βrecipient1@domain.com ;recipient2@domain.com β
So solution found but it would be worth to enhance the Send Exchange Mail Message activity to ignore the space.
Cheers @Kytyzow
1 Like
Vashisht
(Vashisht Devasani)
November 14, 2019, 10:14am
3
Hi @Kytyzow ,
Try to give semicolon in this way it worked for me, It will be shown as only one mail in the outlook but if you see the mail it will be sent to multiple usersβ¦
Cheers.
Vashisht.
Kytyzow
November 14, 2019, 10:20am
4
Thanks for the answers.
My email addresses are not strings, they are in an argument of strings.
I enter the emails as follows:
arg_ReceiverEmail(0);arg_ReceiverEmail(1)
or
arg_ReceiverEmail(0).ToString;arg_ReceiverEmail(1)ToString
Neither of the two variants works
@Palaniyappan
@Vashisht
lakshman
(Ganta lakshman)
November 14, 2019, 10:24am
6
@Kytyzow
I guess some spaces are there. Try like this.
arg_ReceiverEmail(0).Tostring.Trim+";"+arg_ReceiverEmail(1).Tostring.Trim
2 Likes
Vashisht
(Vashisht Devasani)
November 14, 2019, 10:38am
7
As @lakshman mentioned you can join those arguments with β;β string between them.
Cheers.
Vashisht.
1 Like
Kytyzow
November 14, 2019, 11:04am
8
There were no spaces.
I missed the link (+β;β+) of the two e-mails.
Thanks
1 Like
lakshman
(Ganta lakshman)
November 14, 2019, 11:12am
9
@Kytyzow
Glad to help you. Happy Automation
system
(system)
Closed
November 17, 2019, 11:12am
10
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.