mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-16 15:51:14 +02:00
email-backup: add symbol in e-mail
That's easy now that we use $SendEMail2...
This commit is contained in:
parent
d2560db5c9
commit
34ab2837a8
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@
|
||||||
:global RandomDelay;
|
:global RandomDelay;
|
||||||
:global ScriptFromTerminal;
|
:global ScriptFromTerminal;
|
||||||
:global SendEMail2;
|
:global SendEMail2;
|
||||||
|
:global SymbolForNotification;
|
||||||
:global WaitForFile;
|
:global WaitForFile;
|
||||||
:global WaitFullyConnected;
|
:global WaitFullyConnected;
|
||||||
|
|
||||||
|
@ -67,7 +68,7 @@ $WaitFullyConnected;
|
||||||
|
|
||||||
# send email with status and files
|
# send email with status and files
|
||||||
$SendEMail2 ({ origin=$0; \
|
$SendEMail2 ({ origin=$0; \
|
||||||
subject=("Backup & Config"); \
|
subject=([ $SymbolForNotification "floppy-disk" ] . "Backup & Config"); \
|
||||||
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" . \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue