Community discussions

MikroTik App
 
pro2
just joined
Topic Author
Posts: 16
Joined: Mon Apr 17, 2006 5:02 am

Problem in the email sending

Fri Apr 21, 2006 5:36 pm

I am with problem in the email sending what it can be, can be in mikrotik has as to recommence the service that sends email if it has which would be and as to make. I find that the problem would not be in script because it was functioning. Script used:


add name="backup_mail" source="system backup save name=email\n\n/tool e-mail send \
to=\"userbkp@bol.com.br\" from=\"userbkp@bol.com.br\" server=\"smtp.bol.com.br\" \
subject=\(\[/system identity get name\] . \" \" . \[/system clock get time\] . \" \" . \[/system \
clock get date\] . \" Backup\"\) file=email.backup" policy=ftp,reboot,read,write,policy,test
 
User avatar
raenius
just joined
Posts: 13
Joined: Thu Dec 29, 2005 12:15 am

Sat Apr 22, 2006 2:21 am

I created the following script:
  /system backup save name=email
  /tool e-mail send to="support@mydomain.com" subject=([/system identity get name] . " Backup") file=email.backup
But it wouldn't work till I setup the email through the terminal ie:
/tool e-mail print
  server: 192.168.0.12
  from: support@mydomain.com
the server is the ip of my smtp.

So if your problem is sending email makes sure to check that. :)