Page 1 of 1

Unable to locate email settings in MT 2.9.23

Posted: Sat Jun 10, 2006 12:59 am
by SeaSteve
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?

Posted: Sat Jun 10, 2006 1:52 am
by eflanery
In WinBox, you don't.

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

--Eric

Posted: Sun Jun 11, 2006 10:28 pm
by SeaSteve
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

Posted: Mon Jul 03, 2006 11:52 pm
by miroxy
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