I have a backup i want to email to me weekly. the backup works perfectly but when the sripts tries to email me it gets cannot connect to the server. I sent a test email from the email tools and it came through. here are the settings in my email tool. I am using gmail so the port has to be 587 and tls has to be used.
Here is my script:
:log info "backup beginning now"
:global backupfile ([/system identity get name] . "-" . [/system clock get time])
/system backup save name=$backupfile
:log info "backup pausing for 10s"
:log info "backup being emailed"
/tool e-mail send to="email@example.com" subject=([/system identity get name] . \
" Backup") firstname.lastname@example.org file=$backupfile server=126.96.36.199
:log info "backup finished"
I have done this before but not using gmail. I have googled the issue and found several sites where they have addressed the issue but nothing is working for me. any ideas would be greatly appreciated.