:global smtpip [:resolve smtp.exmail.qq.com]
/tool e-mail set from="[email protected]" server=$smtpip password="********" username="[email protected]"
/system back save name=email_backup
:delay 3
/tool e-mail send file=email_backup.backup to="[email protected]" body="$[/system identity get name ] $[/system clock get date ] $[/system clock get time ]" subject="$[/system identity get name ] $[/system clock get date] $[/system clock get time] Backup"
:delay 10
/file rem email_backup.backup
:log info ("备份文件已发送".[/sys cl get time]." ".[/sys cl get date])