I've wrote a scrpit in my mikrotik router to send me a backup file through email. It was working fine since upgrade router OS to 7.18.2. After upgrade it is saying
input does not match any value of file (/tool/e-mail/send (file); line 9)
:local EMAIL "it@tlpk.com"
:local PASSWORD "xxxxx"
:local TIME ([/system clock get time])
:local DATE ([/system clock get date])
:local FILENAME "Backup $[/system identity get name]-$[/system clock get date]"
:local MESSAGE "Please see attached file..."
/system backup save name=$FILENAME password=$PASSWORD
/delay 10
/tool e-mail send file=$FILENAME to=$EMAIL subject="Your MikroTik backup file as of $DATE $TIME" body=$MESSAGE