I would like to create a template that is easily modifiable by business user (i.e. an msg template and not HTML one) and that the bot would pick up, read and send as body of email. Is it possible or can I only create HTML written templates?
If you give the text as string instead of HTML, it won’t recognize the new line characters, so it will display the text as a single line @crowdo
You can maintain the template in a HTML format also . store the HTML lines as string in a variable with the dynamic values in the same string and pass it to the body property and make sure IsBodyHTML checked . so the text is dynamic and the template will be used many times
I have just found out the way to create the HTML email template, thanks so much for your concern.
BTW, actually, I try to create a Robots to send dynamic emails to different email addresses (can be more than one per email) with cc as well as with individual attachments for each email, but still don’t know how to do, May you help me?
You can use an Excel file to store the email details.
For multiple recipients, put semicolon “;” between each mail address. For the attachment part you can create a variable for input in attachment panel. And assign the value that you read from excel file to this variable.
Thanks so much for your strong support,
I understand your mentioned. I had the same though, but I’m still stuck.
I want to send to email individual (No.1 & 2). Because I just learned about Uipath 2 months ago, so I don’t have much experience. If you can support more details about activities related to this topic, I will be very grateful.
Can you give more details about your workflow? When do you want to send an email, is there any condition to choose the recipient etc.?
So, if there is a condition you can choose which row you need to use. For example, if case A happens, send and email to recipient No.1 → to get the first row use: myDatatable.Rows(0).Item(“To”).tostring