eworm-de / routeros-scripts

a collection of scripts for MikroTik RouterOS
GNU General Public License v3.0
1.27k stars 285 forks source link

backup-email: not sending mail #28

Closed sunnychuchu closed 1 year ago

sunnychuchu commented 1 year ago

Email Backup file is created but no email sent out

sunnychuchu commented 1 year ago

Found the problem. Need Install Module mod/notification-email

eworm-de commented 1 year ago

Is it a new install of the scripts or did it happen after an upgrade? The latter should handle it automatically.

The function for installation does not know any dependencies. Guess I should add a runtime check.

eworm-de commented 1 year ago

With dd22dfd26d01a39aab352d21db205c97a20dbcfa the script will now fail if the module is not installed, including an error log message.