VMWarevROvRO8

Send Mail Notification via vRO8.x

 

Send Notification workflow

  1. Pre-Built workflow for sending notifications are in place under Library>Mail>Send Notification
  2. Copy it to your own folder, so we can modify according your needs.

Configuration Elements

To facilitate our “Common Input Parameters”, let’s use Configuration Elements

This is totally up to your decision if use or not as well which parameters to be added there.

The use of Configuration Elements avoid some good part of coding and input parameters, helps you to keep a single source of values as well. A good example of Configuration Elements is Usernames/Passwords/Hostnames/Etc; Where it can be easily replaced at later stage without going investigating all workflows you have created.

This example I am using the attributes below:

  • username – user for authentication
  • password – user’s password
  • smtpServer – IP/DNS
  • smtpPort – Port (25/465/589/etc…)
  • nameDescription – name will appear in your mail as Sender

Moving Inputs/Outputs to variables

We can use Configuration elements via coding some calls to read it for us or simply put the values as attributes and link them to CI. Hereby the link we are doing for all the parameters created above.

Results: This will make you workflow running always with same parameters (SMTP Server / User / Password / Etc).

for the Error!

Most of internal SMTP Servers, still use non-authenticated or non-secure connections on port 25, although the most secure ones use SSL/TLS

So Expected Error is if you are Configuring SMTP for  GMAIL (or any other SSL mail system)

Don’t Forget >> Certificates <<

Pre-Built workflow for importing certificates are available in Library>Configuration>Import Certificate from URL

Run the Email Notification workflow.

After this quick workflow, you will be able to see your green box & a mail in your inbox

 

Tags

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Close