mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
backup-email: use $FormatLine
This commit is contained in:
parent
31553f86a6
commit
637b5e21da
1 changed files with 4 additions and 3 deletions
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
:global CharacterReplace;
|
:global CharacterReplace;
|
||||||
:global DeviceInfo;
|
:global DeviceInfo;
|
||||||
|
:global FormatLine;
|
||||||
:global LogPrintExit2;
|
:global LogPrintExit2;
|
||||||
:global MkDir;
|
:global MkDir;
|
||||||
:global RandomDelay;
|
:global RandomDelay;
|
||||||
|
@ -91,9 +92,9 @@ $SendEMail2 ({ origin=$0; \
|
||||||
message=("See attached files for backup and config export for " . \
|
message=("See attached files for backup and config export for " . \
|
||||||
$Identity . ".\n\n" . \
|
$Identity . ".\n\n" . \
|
||||||
[ $DeviceInfo ] . "\n\n" . \
|
[ $DeviceInfo ] . "\n\n" . \
|
||||||
"Backup file: " . $BackupFile . "\n" . \
|
[ $FormatLine "Backup file" $BackupFile ] . "\n" . \
|
||||||
"Export file: " . $ExportFile . "\n" . \
|
[ $FormatLine "Export file" $ExportFile ] . "\n" . \
|
||||||
"Config file: " . $ConfigFile); \
|
[ $FormatLine "Config file" $ConfigFile ]); \
|
||||||
attach=$Attach; remove-attach=true });
|
attach=$Attach; remove-attach=true });
|
||||||
|
|
||||||
# wait for the mail to be sent
|
# wait for the mail to be sent
|
||||||
|
|
Loading…
Reference in a new issue