Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:app-note:sendloginmail [2020-11-12 10:56] mattias |
blocks:app-note:sendloginmail [2023-08-01 21:05] (current) admin [Installation] |
||
---|---|---|---|
Line 12: | Line 12: | ||
{{ : | {{ : | ||
- | If you do not know how to do this, read the instructions in the [[https:// | + | 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 34: | Line 34: | ||
+ | The email look like this: | ||
+ | {{: | ||
+ | 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 / | ||
+ | |||
+ | | ||