Skip to content

Overview

Concepts and Principles

Development

Overview

IDEs

API Explorer

Releases

Release Notes

TORO Integrate

Coder Studio

Coder Cloud

Bug Reports

Search

Parsing an HTML template using Velocity

This example demonstrates how to parse HTML templates using Velocity methods that are exposed to Gloop. In this example we will parse an HTML template and send it as an email using the EmailMethods.

Before we can invoke the service, we need to set it up by editing the package properties. You need to fill out the required properties below.

Name Description
login Email to use for authentication
password Password to use for authentication
from The sender of the email
to The receiver of the email

Ninja Tip

Some of the properties are already filled out but you can change this and use your own.

After configuring the package properties you can now invoke the service in code/velocity/invoke/invokeSendEmail.gloop. This will send an HTML email to the email address that you set in to of the package properties.