start portlet menu bar

HCLSoftware: Fueling the Digital+ Economy

Display portlet menu
end portlet menu bar
Close
Select Page

Introduction

The Send email plug-in allows you to deliver emails simply and effectively to all needed email addresses or groups, as all people also do from their inboxes.

Thus, to improve your Workload Automation environment, download the Send email plug-in available on Automation Hub.

After downloading it, log in to the Dynamic Workload Console and go to Workload Designer. Create a new job and select “Send email” in the Other section.

Figure 1: Job Definition page

Connection

In the Connection tab you must enter all required connection information:

  • Host: the host that will be used for sending the email.
  • Port: the port associated to the host.

There are also two non-required fields:

  • Username: if the authentication is required for the sender, then the username associated to its email address should be provided.
    Usually, this field will coincide with the email address of the sender.
    This field is linked to the below Password field so that, if necessary, you can create a User object inside your environment, choosing as password the Password associated to the email address of the sender, and then you can insert the name of the just created User in the Username field, and finally choose the User option for the Password field.
  • Password: if the authentication is required for the sender, then a password must be specified together with the username.

Three checkboxes can be found as well in the Connection tab:

  • Disable TLS: if checked, then the email communication will not be encrypted. Be aware that doing this is insecure.
  • Skip certificate validation: if checked, then the certificate validation will be skipped. Be aware that doing this is insecure.
  • Skip hostname verification: if checked, then the hostname verification will be skipped. Be aware that doing this is insecure.

Figure 2: Connection page

Action

In the Action tab you must enter all information required to submit the job. Only the From field is required because it will contain the email address of the sender.

Then we have some non-mandatory fields:

  • To: in this checkbox you can specify the main recipients’ email addresses.
  • Cc: in this checkbox you can specify recipients’ email addresses that will be put in carbon copy (Cc).
  • Bcc: in this checkbox you can specify recipients’ email addresses that will be put in blind carbon copy (Bcc).

Note: it is required to provide at least one recipient email address, either in To, Cc or Bcc.

Note: for all three fields above, it is possible to provide more than one recipient, by using “,” or “;” as separator. You can’t use both separators together.

  • Subject: the email’s subject
  • Body: the email’s body. It can be sent either in text/plain format or text/HTML format.
  • Single txt attachment body: here you can insert the content of a txt file that will be attached to the email. The default name for the file is “txt_attachment.txt”, and it can be specified in the Single txt attachment file name field.
  • Single txt attachment file name: here you can specify the name for the txt attachment whose content is specified in the Single txt attachment body field. If not specified, the default name for the file is “txt_attachment.txt”.
  • Start searching from: here you can specify the path from where start searching for files that you want to attach to the email by using the Search button. A list of files will be prompted to you, if any available, and you can choose one or more. Once you confirm your choice, all file paths will be placed, one per each line, under the Attachment file paths’ list section.
  • Attachments file paths’ list: here you can enter one or multiple file paths for files that will be attached to the email. You can also find them with the help of the Start searching from field and of the Search button.
  • Timeout: here you can specify the amount of time after which the job should end in ABEND status in case the email has not yet been delivered. If not specified, by default a timeout of 30 seconds will be set. If the email is delivered within the specific timeout, then the job will end in SUCCESSFUL status. Several formats are available, they are listed in the field's label.

Figure 3: Action page

Submitting Your Job

You can submit the job according to the current plan. After selecting the Submit icon, click Ok. You can move to the Monitoring and Reporting tab to check what’s happening when a confirmation message appears.

Figure 4: Submitting job

Monitor Page

Figure 5: Monitor page

JobLog

Figure 6: JobLog

Output Properties

Figure 7: Output properties

Received Email

Figure 8: Received email

You can download the Send email plug-in from here.

Comment wrap
Automation | March 20, 2024
Streamlining Enterprise Workflows: Integrating HCL Workload Automation with Azure Logic Apps
Automate workflows without coding! Azure Logic Apps simplifies business process automation with drag-and-drop design and pre-built connectors.
Automation | March 14, 2024
How to Secure a 10.2.1 Agent in the HCL Workload Automation 9.5 Environment Using Default Certificates
Learn how to securely connect your new HCL Workload Automation 10.2.1 dynamic agent to an existing 9.5 master domain manager by converting certificates and using one of two installation processes.
Automation | March 13, 2024
Enhancing Automation: HCL Workload Automation and AWS Step Functions
Unlock powerful automation: HCL Workload Automation and AWS Step Functions join forces. Expand integration, manage hybrid clouds, optimize costs and more!