I tried by several ways but failed to send my mikrotik backup file to gmail account.
I can send test mail to gmail account.
but whenever I tried to do it by script then failed.
- On script:
name: email
source:
/system backup save name=email;
/tool e-mail set address=74.125.129.108 from=xxx@gmail.com user=“xxx@gmail.com” password=xxxx
/tool e-mail send to=“zzz@gmail.com” from=xxx@gmail.com subject=([/system identity get name]." backup") file=email.backup; :log info “Backup e-mail sent.”;
from this line if i click on run script then it backup the data. but no mail was sent.
\
- if it is successful then I need to do it by automatically.
Any one can give me the fully solution how to send backup file to email address.