cancel
Showing results for 
Search instead for 
Did you mean: 

How to send an email to multiple recipients from Blueprism ?

SwatiAgrawal
Level 5
Hi,

I am quite new to Blueprism. I have been trying to use blueprism to send out a mailer to certain recipients (around 30 people). I should be able to write the subject as well. In the actions, I can see Business Object: MS Outlook Email VBO  and the action : "Send Email". But I am not able to figure out how to write text in the "Value" for each "Names". If I write an email ID in the value for "To" with double quotes then it says "Invalid expression". Please suggest how to write text in every field.
Thanks in advance.

11585.png


------------------------------
SWA
------------------------------
15 REPLIES 15

JerinJose
Level 10
Hi Swathi

you placed two single quotes at the beginning

------------------------------
Jerin Jose
RPA Product SME
EY
Asia/Kolkata
*"If you find this post helpful, please press the "Recommend" Button.*
------------------------------

separate the email address with ; if you want to put multiple users in recipient list

------------------------------
Jerin Jose
RPA Product SME
EY
Asia/Kolkata
*"If you find this post helpful, please press the "Recommend" Button.*
------------------------------

Hi Swati,

I think the characters you are using for quotation marks are not being recognized.

For unicode, the following will not work: " (U+201C), ‟ (U+201F), " (U+201D)
Try using this one to get a valid expression: " (U+0022)

For multiple recipients, separate each recipient with a semicolon (same as in the application).and enclose all of it in quotation marks.

------------------------------
Patrick Aucoin
Senior Product Consultant
Blue Prism
------------------------------

It is showing an error that " An invalid character was found in the mail header: ';'." if we separate each recipient with a semicolon in the recipient list.



------------------------------
REVANTH SUNKARA
------------------------------

Hi sir,
The error got cleared the process got executed but the email is not received by the recipient. Please suggest what to do.

------------------------------
REVANTH SUNKARA
------------------------------

hi Revanth,

Possible to share screen-shot of action, you can replace any sensitive data with sample data.
Just wanted to view parameter values.

Thanks.

------------------------------
Manish Kumar
SE
Sony India Software Centre
Asia/Colombo
------------------------------

​Hi Revanth,

Are you using the MS Outlook Email VBO provided by Blue Prism?  I use this all the time to send emails to multiple recipients.  A few things I have seen cause issues are:

1. Account running the process does not have an outlook account/email box configured.  Can you confirm an account exists?  Perhaps launch outlook on the target machine while logged in as the bot and manually send an email to yourself to confirm no issue.
2. Email is being blocked as spam by the recipient.  Can you confirm the email is being processed by your outgoing email relay?
3. Are you including a value in the "To", "Subject", and "Message" inputs?  Some mail systems may restrict outgoing or incoming messages if you're only using "CC" or "BCC", for example.

You can also try increasing logging on the "send email" stage to see exactly what is being processed. If you're not familiar, open the action stage and look all the way at the bottom. There's a drop down for "Stage logging:" that you can change to Enabled. Then run the process again and check the log to see if anything stands out.

I hope this helps. Please let us know how you make out.

------------------------------
Diane Sanzone
------------------------------

I am done with the sending Emails to multiple persons but in another way. Using the semicolon in between the recipients didn't work and if i do so
the last recipient email which i provide is only able to receive the mail. Now my task is that if i provide two attachments and two emails then the first attachment has to be mailed to first provided email and second attachment to the second email id. Please suggest me the way on how to do that.


hi Revanth, 

Great to know that you are able to send email to multiple persons. You can share logic here?
Also, regarding your query to send attachments to different email id. You can create Collection with two columns with Attachment name and Email .
Iterate through collection and pass values of attachment and email to your email sending action.

Hope this works for you.
Regards,

------------------------------
Manish Kumar
SE
Sony India Software Centre
Asia/Colombo
------------------------------