This is an old revision of the document!


Send the server logs over email

This application note demonstrates how to setup the server to enable the latest logs to be sent via email and trigg this from a task.

Installation

You need a computer with a running blocks server and a web browser to use this application note.

We have prepared a PIXILAB-blocks-root folder containing everything you need to run the examples. Download this ZIP file and unpack it

If you don't know how to do this, read the instructions in the general setup section. This zip archive is a bit different from the other application notes, it has a blocks server config file and another zip-archive. The Blocks config file is a sample file showing the format of the mail settings that need to be set in your own blocks config file to enable the email feature in Blocks.

Prerequisits:

  • The root block has to be the default root folder name PIXILAB-Blocks-root unless changed in the user-script MailLog.ts.
  • The server has to be a Linux server
  • The email account has to be configured in the blocks server config file.

Try the application:

  1. Start Blocks.
  2. Open the editor using the Admin button.
  3. Log in using the name admin and the password pixi.