email-backup: use $SendEMail2•••This drops $EmailBackupTo & $EmailBackupCc from settings! Use settings
overwrite if required:
:global EmailGeneralToOverride {
"email-backup"="backup@example.com";
}
change-49
global-functions: introduce $SendEMail2, $SendNotification2 & $SendTelegram2•••These accept just one array as argument. Adding new features is possible
without breaking the API.
These calls are the same for now:
$SendNotification "Subject..." "Message...";
$SendNotification2 ({ subject="Subject..."; message="Message..." });
But the latter will bring more features in future.
global-functions: $GetMacVendor: improve error handling•••The API returns 404 on unknown mac vendor... We can just catch error,
but not decide whether it is connection error or unknown vendor.
Try without mac address - on error we have a connection issue.