O'Reilly logo

Pentaho Data Integration 4 Cookbook by María Carina Roldán, Adrián Sergio Pulvirenti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sending e-mails with attached files

Nowadays, it is very common to use e-mails to exchange digital messages from one author to several recipients. These e-mails can also have a list of files attached that will be sent along with the message.

Kettle offers job entries and transformation steps that allow the sending of e-mails with attached files. In this recipe, you will use the Email job entry to send an e-mail with a set of files attached with a particular condition: the files must have been modified after a given date.

Getting ready

You need a directory named filesToAttach containing sample files. You will also need access to an SMTP server. You can use the smtp.gmail.com server. You also need at least one valid account to play with.

How to do ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required