Why doesn't this script work anymore? Last worked on Mikrotik 3.30 and stopped after that.
:local mailfrom "backup@XXXXXXXXXXXXX.com"
:local rcptto "backup@XXXXXXXXXXXXX.com"
/export file config
/tool e-mail send server=X.X.X.10 to=$rcptto from=$mailfrom subject=("{mtbackup} " . [/system identity get name] . " backup, " . [/system resource get version]) body="See attached file for configuration export." file=config.rsc