Enriching your work by sending an email

When you work with ETL processes, sending emails is a very common requirement. In this section, you will learn how to send emails with PDI by enriching your previous work. In this case, the email will replace the log message.

For trying this exercise, you need access to an SMTP server. You also need at least one valid account to play with. The example uses Gmail's SMTP server (smtp.gmail.com), but you can use any email server, as long as you have access to the information required by PDI

Before starting to work with Spoon, let's introduce the kettle.properties file. In this file, you define variables with the JVM scope. We will use it for storing the email settings:

  1. Open the kettle.properties file ...

Get Learning Pentaho Data Integration 8 CE - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.