mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
backup-email: use $FormatLine
This commit is contained in:
@ -22,6 +22,7 @@
|
||||
|
||||
:global CharacterReplace;
|
||||
:global DeviceInfo;
|
||||
:global FormatLine;
|
||||
:global LogPrintExit2;
|
||||
:global MkDir;
|
||||
:global RandomDelay;
|
||||
@ -91,9 +92,9 @@ $SendEMail2 ({ origin=$0; \
|
||||
message=("See attached files for backup and config export for " . \
|
||||
$Identity . ".\n\n" . \
|
||||
[ $DeviceInfo ] . "\n\n" . \
|
||||
"Backup file: " . $BackupFile . "\n" . \
|
||||
"Export file: " . $ExportFile . "\n" . \
|
||||
"Config file: " . $ConfigFile); \
|
||||
[ $FormatLine "Backup file" $BackupFile ] . "\n" . \
|
||||
[ $FormatLine "Export file" $ExportFile ] . "\n" . \
|
||||
[ $FormatLine "Config file" $ConfigFile ]); \
|
||||
attach=$Attach; remove-attach=true });
|
||||
|
||||
# wait for the mail to be sent
|
||||
|
Reference in New Issue
Block a user