Blue prism send html body as mail

A specific question!

To send an HTML body as an email using Blue Prism, you can use the Send Email activity and configure it to send an HTML email. Here's a step-by-step guide:

  1. Add the Send Email activity: Drag and drop the Send Email activity from the Blue Prism toolbox to your process flow.
  2. Configure the email settings: In the Send Email activity, configure the following settings:
    • SMTP Server: Enter the name of your SMTP server (e.g., smtp.gmail.com).
    • Port: Enter the port number (e.g., 587).
    • Username: Enter your email username (e.g., [email protected]).
    • Password: Enter your email password.
  3. Set the email body: In the Body property, select HTML as the format. You can then enter your HTML code in the Body field.
  4. Add the HTML code: Enter your HTML code in the Body field. You can use HTML tags, styles, and formatting to create a visually appealing email.
  5. Set the email subject: In the Subject property, enter the subject of your email.
  6. Set the email recipient: In the To property, enter the email address of the recipient.
  7. Run the process: Run the process, and the email will be sent with the HTML body.

Here's an example of what the Send Email activity configuration might look like:

<SendEmail>
  <SMTPServer>smtp.gmail.com</SMTPServer>
  <Port>587</Port>
  <Username>[email protected]</Username>
  <Password>your_password</Password>
  <Body>
    <html>
      <head>
        <title>Email Subject</title>
      </head>
      <body>
        <p>This is an HTML email sent using Blue Prism.</p>
        <img src="https://example.com/image.jpg" alt="Image">
      </body>
    </html>
  </Body>
  <Subject>Email Subject</Subject>
  <To>[email protected]</To>
</SendEmail>

Note that you may need to adjust the HTML code to fit your specific requirements. Additionally, make sure to test your email configuration and HTML code to ensure that it works as expected.