Community discussions

MikroTik App
 
SeaSteve
just joined
Topic Author
Posts: 14
Joined: Tue May 23, 2006 3:11 am
Location: Central Texas

Unable to locate email settings in MT 2.9.23

Sat Jun 10, 2006 12:59 am

I'm attempting to email my daily MT backups to an email account. I have studied the Wiki and read posts here in the forum. I'm running 2.9.23 and using Winbox as much as possible.

In Winbox I have created a System>Scheduler script...

/system backup save
/queue simple
export file=queues

...which runs every night creating the backup file and a copy of my simple queues. The files are available in root, and the name of the backup contains the date and time by default. (No need for the additional commands found in the scripting Wiki.)

The Wiki “send Backup Email” tells me the script “emails you the backup it just created (assuming you have already set your email server address under "/tool e-mail")” Well in Winbox>Tools email isn't an option and yes I have the advanced tools package installed.

Can anyone tell me how, in Winbox, to email these files to an address?
 
eflanery
Member
Member
Posts: 376
Joined: Fri May 28, 2004 10:11 pm
Location: Moscow, ID
Contact:

Sat Jun 10, 2006 1:52 am

In WinBox, you don't.

The e-mail tool is command line (and script, same thing) only.

--Eric
 
SeaSteve
just joined
Topic Author
Posts: 14
Joined: Tue May 23, 2006 3:11 am
Location: Central Texas

Sun Jun 11, 2006 10:28 pm

OK, got it.

I used “/tool e-mail set” to enter my SMTP and account. I changed my System>Scheduler script to...

/system backup save name=backup (creating the same file name each time)
/queue simple
export file=queues
/tool e-mail send to="me@mydomain.net" subject=Backup file=backup.backup
/tool e-mail send to="me@mydomain.net" subject=Queues file=queues.rsc

Can I send one email with two attachments using the line...

/tool e-mail send to="me@mydomain.net" subject=Backup file=backup.backup file=queues.rsc
 
miroxy
just joined
Posts: 22
Joined: Tue Mar 22, 2005 12:02 am
Location: Serbia
Contact:

Mon Jul 03, 2006 11:52 pm

No, u can't send two attachments in one mail
I tried all the posible combinations of commands but there is no way to do someting like that
Sorry

Who is online

Users browsing this forum: No registered users and 9 guests