Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blocks:app-note:sendloginmail [2020-11-12 11:01]
mattias [Try the application]
blocks:app-note:sendloginmail [2023-08-01 21:05] (current)
admin [Installation]
Line 12: Line 12:
 {{ :blocks:app-note:sendemail:sendlogviaemail.zip |Download this ZIP file and unpack it}} {{ :blocks:app-note:sendemail:sendlogviaemail.zip |Download this ZIP file and unpack it}}
  
-If you do not know how to do this, read the instructions in the [[https://int.pixilab.se/docs/blocks/app-note/start|general setup section.]] This zip archive is a bit different from the other application notes, it has a blocks server config file and the root folder. 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. +If you do not know how to do this, read the instructions in the [[blocks:app-note:start|general setup section]]This zip archive is a bit different from the other application notes, it has a blocks server config file and the root folder. 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. 
  
 Prerequisites: Prerequisites:
Line 39: Line 39:
 Remember to check the spam folder if the email cannot be found in the inbox. Remember to check the spam folder if the email cannot be found in the inbox.
    
 +
 +=====How does it work?=====
 +
 +This application uses a user script that finds the latest log, zips it into a temp folder using the zip application installed on the server and then emails this on the recipient with the email feature built in to blocks.
 +
 +the script is stored at the default location /script/user/MailLog.ts
 +
 + {{:blocks:app-note:sendemail:atom.png?nolink&800|}}
 +
 +