Hi all!
I'm tring to put the content of the RSC file created by my script on the body of one email, but nothing happen. The email cames with the attachment and with the static text on the body, but without the RSC content.
The script I'm using is:
:local ident ([/system identity get name]);
:local nome ("Backup_" . [/system identity get name] . ".rsc");
/interface wireless export file=$nome;
:delay 10;
:local configs ("Content of the file: $nome \n\n" . [/file get [/file find name=$nome] contents]);
/tool e-mail send from=email@mydomain.com server=201.91.202.26 to=email@mydomain.com subject="[BACKUP MK] $ident - TESTE" body="$configs" file=$nome;
The email is working! I receive the message but I want to put the cotent of the file on the body!
Can someone help me please?
Thanks!
Fabricio