Blue prism send html in mail body

A specific question!

Blue Prism is a business process automation and RPA (Robotic Process Automation) software. To send an HTML email with a mail body, you can use the Send Email activity in Blue Prism.

Here's a step-by-step guide to help you achieve this:

  1. Create a new email activity: In your Blue Prism process, drag and drop the Send Email activity from the Activities pane to the Process pane.
  2. Configure the email settings: In the Send Email activity, configure the following settings:
    • To: Enter the recipient's email address.
    • Subject: Enter the subject of the email.
    • Body: This is where you'll insert the HTML code. You can use the Insert HTML button to insert the HTML code.
  3. Insert HTML code: Click the Insert HTML button and paste your HTML code into the Body field. You can use HTML tags, such as <p>, <img>, <table>, etc., to format your email body.
  4. Use a variable to store the HTML code: If you want to store the HTML code in a variable, you can use the Set Variable activity to set a variable, say htmlBody, with the HTML code as its value.
  5. Use the variable in the email body: In the Send Email activity, use the htmlBody variable in the Body field by clicking the Insert Variable button and selecting the htmlBody variable.
  6. Send the email: Click the Send button to send the email with the HTML body.

Here's an example of how your Send Email activity might look:

<Send Email>
  <To>[email protected]</To>
  <Subject>Email with HTML body</Subject>
  <Body>
    <![CDATA[<html><body><p>This is an email with an HTML body.</p><img src="https://example.com/image.jpg"></body></html>]]>
  </Body>
</Send Email>

In this example, the Body field contains HTML code wrapped in CDATA tags (<![CDATA[]]>) to prevent Blue Prism from interpreting the HTML code as XML.

By following these steps, you should be able to send an HTML email with a mail body using Blue Prism.